Updated on 2026-08-14

This commit is contained in:
Tangem 2025-07-10 16:21:35 +04:00
parent 68071d5e6a
commit a3016f459b
6 changed files with 89 additions and 93 deletions

View file

@ -64,7 +64,11 @@ internal class StakingBalanceUpdater @AssistedInject constructor(
coroutineScope {
listOf(
async {
fetchCurrencyStatus()
/*
* It is important to use NonCancellable here to ensure the update is not interrupted midway.
* For example, this can happen if the user enters and immediately leaves the screen.
*/
withContext(NonCancellable) { fetchCurrencyStatus() }
},
async {
updateStakingActions()