Skip to content

Commit 70bae7f

Browse files
authored
Handle liquidity pool asset type (#947)
* Fix FormatException * Fetch client changes
1 parent a64e649 commit 70bae7f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/lib/screens/wallets/send.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,14 @@ class _WalletSendScreenState extends ConsumerState<WalletSendScreen> {
152152
final amount = amountController.text.trim();
153153
amountError = null;
154154

155-
if (Decimal.parse(amount) <= fee) {
156-
amountError = 'Amount should be greater than $fee';
157-
return false;
158-
}
159155
if (amount.isEmpty) {
160156
amountError = "Amount can't be empty";
161157
return false;
162158
}
159+
if (Decimal.parse(amount) <= fee) {
160+
amountError = 'Amount should be greater than $fee';
161+
return false;
162+
}
163163
if (!isFloat(amount)) {
164164
amountError = 'Amount should have numeric values only';
165165
return false;

app/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1715,7 +1715,7 @@ packages:
17151715
description:
17161716
path: "packages/stellar_client"
17171717
ref: development
1718-
resolved-ref: "29666eae72ffd8946b06d5393fef6457c2789c7d"
1718+
resolved-ref: f3afde66922dfbe836d0915fac8e152c5817626b
17191719
url: "https://github.com/threefoldtech/tfgrid-sdk-dart"
17201720
source: git
17211721
version: "0.1.0"

0 commit comments

Comments
 (0)