Updated on 2026-08-14

This commit is contained in:
Tangem 2023-11-14 19:07:28 +03:00
parent cef6a7b372
commit f394a5b57b
4 changed files with 11 additions and 5 deletions

View file

@ -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)
}