Updated on 2026-08-14
This commit is contained in:
parent
68071d5e6a
commit
a3016f459b
6 changed files with 89 additions and 93 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue