Updated on 2026-08-14
This commit is contained in:
parent
7d0121c40c
commit
5284873a3e
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ internal class DisclaimerModel @Inject constructor(
|
|||
val shouldAskPushPermission = notificationsRepository.shouldShowSubscribeOnNotificationsAfterUpdate()
|
||||
val isHuaweiDevice = getIsHuaweiDeviceWithoutGoogleServicesUseCase()
|
||||
if (shouldAskPushPermission && !isHuaweiDevice) {
|
||||
router.push(AppRoute.PushNotification)
|
||||
router.push(AppRoute.PushNotification(AppRoute.PushNotification.Source.Stories))
|
||||
} else {
|
||||
neverToInitiallyAskPermissionUseCase(PUSH_PERMISSION)
|
||||
neverRequestPermissionUseCase(PUSH_PERMISSION)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue