fix: check for the route if 0 value is entered

When 0 value was entered checking for the best route was not done cause the amount change
signal was not emitted.
This commit is contained in:
Sale Djenic 2024-09-24 09:51:42 +02:00 committed by saledjenic
parent 4206617d9e
commit 7ba325984c
1 changed files with 5 additions and 0 deletions

View File

@ -537,6 +537,11 @@ StatusDialog {
formatBalance: amount => d.currencyStore.formatCurrencyAmount(
amount, selectedSymbol)
onValidChanged: {
d.sendError = ""
popup.recalculateRoutesAndFees()
}
onAmountChanged: {
d.sendError = ""
popup.recalculateRoutesAndFees()