Updated on 2026-08-14
This commit is contained in:
parent
15ff7e402f
commit
01e2cfec97
1 changed files with 5 additions and 8 deletions
|
|
@ -376,8 +376,11 @@ internal class SendViewModel @Inject constructor(
|
||||||
feeCryptoCurrencyStatus = feeCurrencyStatus
|
feeCryptoCurrencyStatus = feeCurrencyStatus
|
||||||
subscribeOnQRScannerResult()
|
subscribeOnQRScannerResult()
|
||||||
when {
|
when {
|
||||||
uiState.sendState?.isSuccess == true -> {
|
uiState.sendState?.isSuccess != true -> {
|
||||||
stateRouter.showSend()
|
uiState = stateFactory.getReadyState()
|
||||||
|
getWalletsAndRecent()
|
||||||
|
stateRouter.showRecipient()
|
||||||
|
updateNotifications()
|
||||||
}
|
}
|
||||||
transactionId != null && amount != null && destinationAddress != null -> {
|
transactionId != null && amount != null && destinationAddress != null -> {
|
||||||
loadFee()
|
loadFee()
|
||||||
|
|
@ -385,12 +388,6 @@ internal class SendViewModel @Inject constructor(
|
||||||
stateRouter.showSend()
|
stateRouter.showSend()
|
||||||
updateNotifications()
|
updateNotifications()
|
||||||
}
|
}
|
||||||
else -> {
|
|
||||||
uiState = stateFactory.getReadyState()
|
|
||||||
getWalletsAndRecent()
|
|
||||||
stateRouter.showRecipient()
|
|
||||||
updateNotifications()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue