test (#1842)
Some checks are pending
Cache Dependencies / test (push) Waiting to run

* test

* macos new build
This commit is contained in:
Omar Hatem 2024-12-03 14:04:11 +03:00 committed by GitHub
parent 0691b9ddb3
commit 01faeabefe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 11 additions and 14 deletions

View file

@ -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

View file

@ -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';

View file

@ -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;
}

View file

@ -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"

View file

@ -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"

View file

@ -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