Add polygon to iOS and macOS

Minor import fix for monero.com
This commit is contained in:
OmarHatem 2023-12-02 15:31:30 +02:00
parent 9a942a7849
commit abda8348b3
3 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ case $APP_IOS_TYPE in
CONFIG_ARGS="--monero"
;;
$CAKEWALLET)
CONFIG_ARGS="--monero --bitcoin --haven --ethereum --nano --bitcoinCash"
CONFIG_ARGS="--monero --bitcoin --haven --ethereum --nano --bitcoinCash --polygon"
;;
$HAVEN)

View file

@ -23,7 +23,7 @@ CONFIG_ARGS=""
case $APP_MACOS_TYPE in
$CAKEWALLET)
CONFIG_ARGS="--monero --bitcoin --ethereum --nano --bitcoinCash";; #--haven
CONFIG_ARGS="--monero --bitcoin --ethereum --nano --bitcoinCash --polygon";; #--haven
esac
cp -rf pubspec_description.yaml pubspec.yaml

View file

@ -590,7 +590,6 @@ import 'package:cw_core/wallet_base.dart';
import 'package:cw_core/wallet_credentials.dart';
import 'package:cw_core/wallet_info.dart';
import 'package:cw_core/wallet_service.dart';
import 'package:cw_ethereum/ethereum_mnemonics.dart';
import 'package:eth_sig_util/util/utils.dart';
import 'package:hive/hive.dart';
import 'package:web3dart/web3dart.dart';
@ -603,6 +602,7 @@ import 'package:cw_polygon/polygon_wallet.dart';
import 'package:cw_polygon/polygon_wallet_creation_credentials.dart';
import 'package:cw_polygon/polygon_wallet_service.dart';
import 'package:cw_polygon/polygon_transaction_priority.dart';
import 'package:cw_ethereum/ethereum_mnemonics.dart';
""";
const polygonCwPart = "part 'cw_polygon.dart';";
const polygonContent = """