Updated on 2026-08-14
This commit is contained in:
parent
8009743fb9
commit
a72837204d
35 changed files with 628 additions and 132 deletions
|
|
@ -67,6 +67,7 @@ internal class WalletModel @Inject constructor(
|
|||
private val getWalletsUseCase: GetWalletsUseCase,
|
||||
private val shouldShowSaveWalletScreenUseCase: ShouldShowSaveWalletScreenUseCase,
|
||||
private val shouldShowMarketsTooltipUseCase: ShouldShowMarketsTooltipUseCase,
|
||||
private val setWalletFirstTimeUsageUseCase: SetWalletFirstTimeUsageUseCase,
|
||||
private val canUseBiometryUseCase: CanUseBiometryUseCase,
|
||||
private val isWalletsScrollPreviewEnabled: IsWalletsScrollPreviewEnabled,
|
||||
private val getBalanceHidingSettingsUseCase: GetBalanceHidingSettingsUseCase,
|
||||
|
|
@ -103,6 +104,7 @@ internal class WalletModel @Inject constructor(
|
|||
suggestToOpenMarkets()
|
||||
|
||||
maybeMigrateNames()
|
||||
maybeSetWalletFirstTimeUsage()
|
||||
subscribeToUserWalletsUpdates()
|
||||
subscribeOnBalanceHiding()
|
||||
subscribeOnSelectedWalletFlow()
|
||||
|
|
@ -117,6 +119,12 @@ internal class WalletModel @Inject constructor(
|
|||
}
|
||||
}
|
||||
|
||||
private fun maybeSetWalletFirstTimeUsage() {
|
||||
modelScope.launch {
|
||||
setWalletFirstTimeUsageUseCase()
|
||||
}
|
||||
}
|
||||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue