Updated on 2026-08-14

This commit is contained in:
Tangem 2024-05-21 16:53:21 +05:00
parent 15ff7e402f
commit 01e2cfec97

View file

@ -376,8 +376,11 @@ internal class SendViewModel @Inject constructor(
feeCryptoCurrencyStatus = feeCurrencyStatus
subscribeOnQRScannerResult()
when {
uiState.sendState?.isSuccess == true -> {
stateRouter.showSend()
uiState.sendState?.isSuccess != true -> {
uiState = stateFactory.getReadyState()
getWalletsAndRecent()
stateRouter.showRecipient()
updateNotifications()
}
transactionId != null && amount != null && destinationAddress != null -> {
loadFee()
@ -385,12 +388,6 @@ internal class SendViewModel @Inject constructor(
stateRouter.showSend()
updateNotifications()
}
else -> {
uiState = stateFactory.getReadyState()
getWalletsAndRecent()
stateRouter.showRecipient()
updateNotifications()
}
}
}