fix (#6623)
This commit is contained in:
parent
a819bfc820
commit
1fd475aaf1
1 changed files with 4 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ import NativeNotifications from '@notifications';
|
|||
import {queryServerName} from '@queries/app/servers';
|
||||
import {getCurrentChannelId} from '@queries/servers/system';
|
||||
import {getIsCRTEnabled, getThreadById} from '@queries/servers/thread';
|
||||
import {showOverlay} from '@screens/navigation';
|
||||
import {dismissOverlay, showOverlay} from '@screens/navigation';
|
||||
import EphemeralStore from '@store/ephemeral_store';
|
||||
import NavigationStore from '@store/navigation_store';
|
||||
import {isTablet} from '@utils/helpers';
|
||||
|
|
@ -126,6 +126,9 @@ class PushNotifications {
|
|||
serverUrl,
|
||||
};
|
||||
|
||||
// Dismiss the screen if it's already visible or else it blocks the navigation
|
||||
await dismissOverlay(screen);
|
||||
|
||||
showOverlay(screen, passProps);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue