mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 03:29:36 +00:00
* test * macos new build
This commit is contained in:
parent
0691b9ddb3
commit
01faeabefe
6 changed files with 11 additions and 14 deletions
2
.github/workflows/pr_test_build_linux.yml
vendored
2
.github/workflows/pr_test_build_linux.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue