mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-05 10:29:23 +00:00
Fix Exchange field not taking numbers (#1341)
This commit is contained in:
parent
5a7a0e01a7
commit
ecb4f32cda
5 changed files with 8 additions and 10 deletions
|
@ -634,7 +634,7 @@ class ExchangePage extends BasePage {
|
||||||
borderColor:
|
borderColor:
|
||||||
Theme.of(context).extension<ExchangePageTheme>()!.textFieldBorderTopPanelColor,
|
Theme.of(context).extension<ExchangePageTheme>()!.textFieldBorderTopPanelColor,
|
||||||
currencyValueValidator: (value) {
|
currencyValueValidator: (value) {
|
||||||
return !exchangeViewModel.isFixedRateMode
|
return !exchangeViewModel.isFixedRateMode && value != S.of(context).all
|
||||||
? AmountValidator(
|
? AmountValidator(
|
||||||
isAutovalidate: true,
|
isAutovalidate: true,
|
||||||
currency: exchangeViewModel.depositCurrency,
|
currency: exchangeViewModel.depositCurrency,
|
||||||
|
|
|
@ -272,9 +272,7 @@ class ExchangeCardState extends State<ExchangeCard> {
|
||||||
color: Theme.of(context)
|
color: Theme.of(context)
|
||||||
.extension<ExchangePageTheme>()!
|
.extension<ExchangePageTheme>()!
|
||||||
.hintTextColor),
|
.hintTextColor),
|
||||||
validator: widget.hasAllAmount
|
validator: _isAmountEditable
|
||||||
? widget.allAmountValidator
|
|
||||||
: _isAmountEditable
|
|
||||||
? widget.currencyValueValidator
|
? widget.currencyValueValidator
|
||||||
: null),
|
: null),
|
||||||
),
|
),
|
||||||
|
|
|
@ -22,8 +22,8 @@ MONERO_COM_PACKAGE="com.monero.app"
|
||||||
MONERO_COM_SCHEME="monero.com"
|
MONERO_COM_SCHEME="monero.com"
|
||||||
|
|
||||||
CAKEWALLET_NAME="Cake Wallet"
|
CAKEWALLET_NAME="Cake Wallet"
|
||||||
CAKEWALLET_VERSION="4.15.1"
|
CAKEWALLET_VERSION="4.15.2"
|
||||||
CAKEWALLET_BUILD_NUMBER=199
|
CAKEWALLET_BUILD_NUMBER=200
|
||||||
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
|
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
|
||||||
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
|
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
|
||||||
CAKEWALLET_SCHEME="cakewallet"
|
CAKEWALLET_SCHEME="cakewallet"
|
||||||
|
|
|
@ -18,8 +18,8 @@ MONERO_COM_BUILD_NUMBER=77
|
||||||
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
|
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
|
||||||
|
|
||||||
CAKEWALLET_NAME="Cake Wallet"
|
CAKEWALLET_NAME="Cake Wallet"
|
||||||
CAKEWALLET_VERSION="4.15.1"
|
CAKEWALLET_VERSION="4.15.2"
|
||||||
CAKEWALLET_BUILD_NUMBER=218
|
CAKEWALLET_BUILD_NUMBER=219
|
||||||
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
|
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
|
||||||
|
|
||||||
HAVEN_NAME="Haven"
|
HAVEN_NAME="Haven"
|
||||||
|
|
|
@ -21,8 +21,8 @@ MONERO_COM_BUILD_NUMBER=10
|
||||||
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
|
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
|
||||||
|
|
||||||
CAKEWALLET_NAME="Cake Wallet"
|
CAKEWALLET_NAME="Cake Wallet"
|
||||||
CAKEWALLET_VERSION="1.8.1"
|
CAKEWALLET_VERSION="1.8.2"
|
||||||
CAKEWALLET_BUILD_NUMBER=58
|
CAKEWALLET_BUILD_NUMBER=59
|
||||||
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
|
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
|
||||||
|
|
||||||
if ! [[ " ${TYPES[*]} " =~ " ${APP_MACOS_TYPE} " ]]; then
|
if ! [[ " ${TYPES[*]} " =~ " ${APP_MACOS_TYPE} " ]]; then
|
||||||
|
|
Loading…
Reference in a new issue