Updated on 2026-08-14
This commit is contained in:
parent
cef6a7b372
commit
f394a5b57b
4 changed files with 11 additions and 5 deletions
|
|
@ -51,7 +51,7 @@ internal class MainViewModel @Inject constructor(
|
|||
}
|
||||
.onEach {
|
||||
if (state.value.modalNotification?.isShow != true && !it.isUpdateFromToast) {
|
||||
listenToFlipsUseCase.isEnabled = false
|
||||
listenToFlipsUseCase.changeUpdateEnabled(false)
|
||||
stateHolder.updateWithHiddenBalancesNotification()
|
||||
reduxNavController.navigate(NavigationAction.NavigateTo(AppScreen.ModalNotification))
|
||||
}
|
||||
|
|
@ -132,7 +132,7 @@ internal class MainViewModel @Inject constructor(
|
|||
}
|
||||
|
||||
override fun onDismissBottomSheet() {
|
||||
listenToFlipsUseCase.isEnabled = true
|
||||
listenToFlipsUseCase.changeUpdateEnabled(true)
|
||||
stateHolder.updateWithoutModalNotification()
|
||||
stateHolder.updateWithHiddenBalancesToast(true)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue