Updated on 2026-08-14

This commit is contained in:
Tangem 2024-05-27 12:32:08 +01:00
commit a3555a6d97
2 changed files with 7 additions and 8 deletions

View file

@ -418,8 +418,6 @@ class DemoConfig {
"AF15000001195781",
"AF15000001195773",
"AF15000001195799",
"AF19000000000038",
"AC19000000000064",
)
@Suppress("ClassOrdering")

View file

@ -387,18 +387,19 @@ internal class SendViewModel @Inject constructor(
feeCryptoCurrencyStatus = feeCurrencyStatus
subscribeOnQRScannerResult()
when {
uiState.sendState?.isSuccess != true -> {
uiState = stateFactory.getReadyState()
getWalletsAndRecent()
stateRouter.showRecipient()
updateNotifications()
}
uiState.sendState?.isSuccess == true -> return
transactionId != null && amount != null && destinationAddress != null -> {
loadFee()
uiState = stateFactory.getReadyState(amount, destinationAddress, memo)
stateRouter.showSend()
updateNotifications()
}
else -> {
uiState = stateFactory.getReadyState()
getWalletsAndRecent()
stateRouter.showRecipient()
updateNotifications()
}
}
}