warn sp dust (#2402)

* feat: warn sp dust

* Update lib/view_model/send/send_view_model.dart

* fix condition

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
rafael_xmr
2025-07-29 15:50:11 +03:00
committed by GitHub
co-authored by Omar Hatem
parent 888319dd7a
commit 10499814bb
3 changed files with 46 additions and 8 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ class SendCardState extends State<SendCard> with AutomaticKeepAliveClientMixin<S
!sendViewModel.isBatchSending && sendViewModel.shouldDisplaySendALL,
currencyValueValidator: output.sendAll
? sendViewModel.allAmountValidator
: sendViewModel.amountValidator,
: sendViewModel.amountValidator(output),
allAmountCallback: () async =>
output.setSendAll(await sendViewModel.sendingBalance),
),