mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-30 11:54:22 +01:00
CAKE-185 | fixed string resources
This commit is contained in:
@@ -313,8 +313,8 @@ abstract class ExchangeViewModelBase with Store {
|
||||
final amount = isReceiveAmountEntered
|
||||
? receiveAmount
|
||||
: depositAmount;
|
||||
isValid = RegExp('^([0-9]+([.\,][0-9]{0,8})?|[.\,][0-9]{1,8})\$')
|
||||
.hasMatch(amount);
|
||||
final pattern = '^([0-9]+([.\,][0-9]{0,8})?|[.\,][0-9]{1,8})\$';
|
||||
isValid = RegExp(pattern).hasMatch(amount);
|
||||
}
|
||||
|
||||
return isValid;
|
||||
|
||||
Reference in New Issue
Block a user