feat(app-notifications): Remove device notifications in the prejoin screen.
This commit is contained in:
parent
68eb0795eb
commit
a7efbfb0f8
|
@ -292,13 +292,14 @@ function _checkAndNotifyForNewDevice(store, newDevices, oldDevices) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!isPrejoinPageVisible(store.getState())) {
|
||||||
dispatch(showNotification({
|
dispatch(showNotification({
|
||||||
description,
|
description,
|
||||||
titleKey,
|
titleKey,
|
||||||
customActionNameKey: 'notify.newDeviceAction',
|
customActionNameKey: 'notify.newDeviceAction',
|
||||||
customActionHandler: _useDevice.bind(undefined, store, devicesArray)
|
customActionHandler: _useDevice.bind(undefined, store, devicesArray)
|
||||||
}));
|
}));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue