Skip to content

Commit

Permalink
Fix Exchange field not taking numbers (#1341)
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarHatem28 authored Mar 21, 2024
1 parent 5a7a0e0 commit ecb4f32
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lib/src/screens/exchange/exchange_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ class ExchangePage extends BasePage {
borderColor:
Theme.of(context).extension<ExchangePageTheme>()!.textFieldBorderTopPanelColor,
currencyValueValidator: (value) {
return !exchangeViewModel.isFixedRateMode
return !exchangeViewModel.isFixedRateMode && value != S.of(context).all
? AmountValidator(
isAutovalidate: true,
currency: exchangeViewModel.depositCurrency,
Expand Down
4 changes: 1 addition & 3 deletions lib/src/screens/exchange/widgets/exchange_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,7 @@ class ExchangeCardState extends State<ExchangeCard> {
color: Theme.of(context)
.extension<ExchangePageTheme>()!
.hintTextColor),
validator: widget.hasAllAmount
? widget.allAmountValidator
: _isAmountEditable
validator: _isAmountEditable
? widget.currencyValueValidator
: null),
),
Expand Down
4 changes: 2 additions & 2 deletions scripts/android/app_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ MONERO_COM_PACKAGE="com.monero.app"
MONERO_COM_SCHEME="monero.com"

CAKEWALLET_NAME="Cake Wallet"
CAKEWALLET_VERSION="4.15.1"
CAKEWALLET_BUILD_NUMBER=199
CAKEWALLET_VERSION="4.15.2"
CAKEWALLET_BUILD_NUMBER=200
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
CAKEWALLET_SCHEME="cakewallet"
Expand Down
4 changes: 2 additions & 2 deletions scripts/ios/app_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ MONERO_COM_BUILD_NUMBER=77
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"

CAKEWALLET_NAME="Cake Wallet"
CAKEWALLET_VERSION="4.15.1"
CAKEWALLET_BUILD_NUMBER=218
CAKEWALLET_VERSION="4.15.2"
CAKEWALLET_BUILD_NUMBER=219
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"

HAVEN_NAME="Haven"
Expand Down
4 changes: 2 additions & 2 deletions scripts/macos/app_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ MONERO_COM_BUILD_NUMBER=10
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"

CAKEWALLET_NAME="Cake Wallet"
CAKEWALLET_VERSION="1.8.1"
CAKEWALLET_BUILD_NUMBER=58
CAKEWALLET_VERSION="1.8.2"
CAKEWALLET_BUILD_NUMBER=59
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"

if ! [[ " ${TYPES[*]} " =~ " ${APP_MACOS_TYPE} " ]]; then
Expand Down

0 comments on commit ecb4f32

Please sign in to comment.