Updated on 2026-08-14

This commit is contained in:
Tangem 2023-11-14 17:54:05 +03:00
parent 894958995e
commit 608fc06cf1
2 changed files with 5 additions and 1 deletions

View file

@ -51,6 +51,7 @@ internal class MainViewModel @Inject constructor(
}
.onEach {
if (state.value.modalNotification?.isShow != true) {
listenToFlipsUseCase.isEnabled = false
stateHolder.updateWithHiddenBalancesNotification()
reduxNavController.navigate(NavigationAction.NavigateTo(AppScreen.ModalNotification))
}
@ -123,6 +124,7 @@ internal class MainViewModel @Inject constructor(
}
override fun onDismissBottomSheet() {
listenToFlipsUseCase.isEnabled = true
stateHolder.updateWithoutModalNotification()
stateHolder.updateWithHiddenBalancesToast(true)
}