From f2ee197edf43fb0c25f3c4970f4f3b4015b2def0 Mon Sep 17 00:00:00 2001 From: AlaaElattar Date: Wed, 12 Feb 2025 11:56:16 +0200 Subject: [PATCH] Rephrase error msg in bridge --- app/lib/screens/wallets/bridge.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/screens/wallets/bridge.dart b/app/lib/screens/wallets/bridge.dart index d8be90e08..80d5a9fe1 100644 --- a/app/lib/screens/wallets/bridge.dart +++ b/app/lib/screens/wallets/bridge.dart @@ -147,14 +147,14 @@ class _WalletBridgeScreenState extends ConsumerState { return false; } if (Decimal.parse(amount) < Decimal.fromInt(2)) { - amountError = "Amount can't be less than 2"; + amountError = "Amount can't be less than 2 excluding fees."; return false; } final balance = roundAmount(isWithdraw ? widget.wallet.tfchainBalance : widget.wallet.stellarBalance); if (balance - Decimal.parse(amount) - totalFee < Decimal.zero) { - amountError = 'Balance is not enough'; + amountError = 'Insufficient balance (fees included).'; return false; } return true;