Skip to content

Commit

Permalink
test (#1842)
Browse files Browse the repository at this point in the history
* test

* macos new build
  • Loading branch information
OmarHatem28 authored Dec 3, 2024
1 parent 0691b9d commit 01faeab
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr_test_build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Flutter action
uses: subosito/flutter-action@v1
with:
flutter-version: "3.24.4"
flutter-version: "3.24.0"
channel: stable

- name: Install package dependencies
Expand Down
2 changes: 1 addition & 1 deletion lib/core/address_validator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class AddressValidator extends TextValidator {
case CryptoCurrency.btcln:
pattern = '(lnbc|LNBC)([0-9]{1,}[a-zA-Z0-9]+)';
default:
pattern = '[0-9a-zA-Z]+';
return '';
}

return '$BEFORE_REGEX($pattern)$AFTER_REGEX';
Expand Down
7 changes: 2 additions & 5 deletions lib/src/screens/cake_pay/cards/cake_pay_buy_card_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,11 @@ class CakePayBuyCardPage extends BasePage {
}

bool isWordInCardsName(CakePayCard card, String word) {
// word must be followed by a space or beginning of the string
final regex = RegExp(r'(^|\s)' + word + r'(\s|$)', caseSensitive: false);

return regex.hasMatch(card.name.toLowerCase());
return card.name.toLowerCase().contains(word.toLowerCase());
}

bool isIOSUnavailable(CakePayCard card) {
if (!Platform.isIOS) {
if (!Platform.isIOS && !Platform.isMacOS) {
return false;
}

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 @@ -16,14 +16,14 @@ APP_ANDROID_TYPE=$1

MONERO_COM_NAME="Monero.com"
MONERO_COM_VERSION="1.18.2"
MONERO_COM_BUILD_NUMBER=107
MONERO_COM_BUILD_NUMBER=108
MONERO_COM_BUNDLE_ID="com.monero.app"
MONERO_COM_PACKAGE="com.monero.app"
MONERO_COM_SCHEME="monero.com"

CAKEWALLET_NAME="Cake Wallet"
CAKEWALLET_VERSION="4.21.2"
CAKEWALLET_BUILD_NUMBER=238
CAKEWALLET_BUILD_NUMBER=239
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
CAKEWALLET_SCHEME="cakewallet"
Expand Down
8 changes: 4 additions & 4 deletions scripts/ios/app_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ TYPES=($MONERO_COM $CAKEWALLET $HAVEN)
APP_IOS_TYPE=$1

MONERO_COM_NAME="Monero.com"
MONERO_COM_VERSION="1.18.1"
MONERO_COM_BUILD_NUMBER=104
MONERO_COM_VERSION="1.18.2"
MONERO_COM_BUILD_NUMBER=105
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"

CAKEWALLET_NAME="Cake Wallet"
CAKEWALLET_VERSION="4.21.1"
CAKEWALLET_BUILD_NUMBER=283
CAKEWALLET_VERSION="4.21.2"
CAKEWALLET_BUILD_NUMBER=284
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"

HAVEN_NAME="Haven"
Expand Down
2 changes: 1 addition & 1 deletion scripts/macos/app_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ MONERO_COM_BUNDLE_ID="com.cakewallet.monero"

CAKEWALLET_NAME="Cake Wallet"
CAKEWALLET_VERSION="1.14.1"
CAKEWALLET_BUILD_NUMBER=96
CAKEWALLET_BUILD_NUMBER=97
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"

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

0 comments on commit 01faeab

Please sign in to comment.