feat(prejoin/native): clear notifications when joining (#12361)
* feat(prejoin/native): clear notifications when joining
This commit is contained in:
parent
4018e8875f
commit
4d84123c71
|
@ -27,6 +27,7 @@ import {
|
|||
navigateRoot
|
||||
} from '../mobile/navigation/rootNavigationContainerRef';
|
||||
import { screen } from '../mobile/navigation/routes';
|
||||
import { clearNotifications } from '../notifications';
|
||||
import { setFatalError } from '../overlay';
|
||||
|
||||
import { getDefaultURL } from './functions';
|
||||
|
@ -138,6 +139,7 @@ export function appNavigate(uri?: string) {
|
|||
|
||||
if (room) {
|
||||
dispatch(createDesiredLocalTracks());
|
||||
dispatch(clearNotifications());
|
||||
|
||||
if (isPrejoinPageEnabled(getState())) {
|
||||
navigateRoot(screen.preJoin);
|
||||
|
|
Loading…
Reference in New Issue