Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/lib/screens/wallets/bridge.dart
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,14 @@ class _WalletBridgeScreenState extends ConsumerState<WalletBridgeScreen> {
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;
Expand Down