File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
app/src/main/java/to/bitkit/viewmodels Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ import to.bitkit.repositories.PreActivityMetadataRepo
9292import to.bitkit.repositories.TransferRepo
9393import to.bitkit.repositories.WalletRepo
9494import to.bitkit.services.AppUpdaterService
95- import to.bitkit.ui.Routes
9695import to.bitkit.ui.components.TimedSheetType
9796import to.bitkit.ui.nav.DeepLinkPatterns
9897import to.bitkit.ui.nav.Routes
@@ -234,8 +233,8 @@ class AppViewModel @Inject constructor(
234233 }
235234 viewModelScope.launch {
236235 timedSheetManager.currentSheet.collect { sheetType ->
237- if ( sheetType != null ) {
238- _currentSheet .update { Sheet . TimedSheet (sheetType) }
236+ sheetType?. let {
237+ mainScreenEffect( MainScreenEffect . Navigate (it.toRoute()))
239238 }
240239 }
241240 }
You can’t perform that action at this time.
0 commit comments