Updated on 2026-08-14
This commit is contained in:
parent
312740cd64
commit
5f95ba532e
4 changed files with 43 additions and 23 deletions
|
|
@ -763,10 +763,14 @@ internal class WalletViewModel @Inject constructor(
|
|||
}
|
||||
|
||||
override fun onUnlockWalletClick() {
|
||||
val state = uiState as? WalletState.ContentState ?: return
|
||||
|
||||
analyticsEventsHandler.send(WalletScreenAnalyticsEvent.NoticeWalletLocked)
|
||||
|
||||
viewModelScope.launch(dispatchers.io) {
|
||||
unlockWalletsUseCase()
|
||||
viewModelScope.launch(dispatchers.main) {
|
||||
unlockWalletsUseCase(
|
||||
selectedWalletId = state.walletsListConfig.wallets[state.walletsListConfig.selectedWalletIndex].id,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue