Updated on 2026-08-14
This commit is contained in:
parent
ecf8e5fc96
commit
7846772be2
7 changed files with 25 additions and 17 deletions
|
|
@ -26,7 +26,9 @@ private fun handleDisclaimerMiddleware(action: Action, appState: AppState) {
|
|||
|
||||
when (action) {
|
||||
is DisclaimerAction.Show -> {
|
||||
store.dispatchNavigationAction { push(AppRoute.Disclaimer) }
|
||||
store.dispatchNavigationAction {
|
||||
push(AppRoute.Disclaimer(isTosAccepted = action.from == DisclaimerSource.Details))
|
||||
}
|
||||
}
|
||||
is DisclaimerAction.AcceptDisclaimer -> {
|
||||
mainScope.launch {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue