Skip to content

Commit

Permalink
Merge branch 'main' into release/1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zaiatsartem committed Dec 16, 2024
2 parents 0ced8d1 + 8d7a349 commit 3ad5612
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ class WelcomeActivity :
supportFragmentManager,
NotificationsPermissionDialog.TAG,
)
viewModel.setNotificationDialogShowed()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@ class WelcomeViewModel(application: Application) : AndroidViewModel(application)
_isNotificationDialogEverShowed.emit(notificationsPreferences.hasEverShownPermissionDialog)
}
}

fun setNotificationDialogShowed() {
viewModelScope.launch {
_isNotificationDialogEverShowed.emit(true)
}
}
}

0 comments on commit 3ad5612

Please sign in to comment.