Updated on 2026-08-14
This commit is contained in:
commit
b8df03cd78
3 changed files with 7 additions and 3 deletions
|
|
@ -452,6 +452,9 @@ class MainActivity : AppCompatActivity(), SnackbarHandler, ActivityResultCallbac
|
|||
|
||||
override fun onDestroy() {
|
||||
intentProcessor.removeAll()
|
||||
// workaround: kill process when activity destroy to avoid state when lock() wallets
|
||||
// and navigation to unlock screen was skipped because system kills activity but not process
|
||||
android.os.Process.killProcess(android.os.Process.myPid())
|
||||
super.onDestroy()
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -139,7 +139,9 @@ internal class TokenDetailsViewModel @Inject constructor(
|
|||
?.unbundle(CryptoCurrency.serializer())
|
||||
?: error("This screen can't be opened without `CryptoCurrency`")
|
||||
|
||||
private val userWallet: UserWallet
|
||||
private val userWallet: UserWallet by lazy {
|
||||
getUserWalletUseCase(userWalletId).getOrNull() ?: error("UserWallet not found")
|
||||
}
|
||||
|
||||
lateinit var router: InnerTokenDetailsRouter
|
||||
|
||||
|
|
@ -203,7 +205,6 @@ internal class TokenDetailsViewModel @Inject constructor(
|
|||
),
|
||||
),
|
||||
)
|
||||
userWallet = getUserWalletUseCase(userWalletId).getOrNull() ?: error("UserWallet not found")
|
||||
}
|
||||
|
||||
private fun onBuyCurrencyDeepLink(externalTxId: String) {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
versionName=5.20.0
|
||||
versionName=5.20.1
|
||||
Loading…
Add table
Add a link
Reference in a new issue