Fixes for unspent coins box initialization. Change cakewallet icons. Add wallet naming for new wallets.
BIN
assets/images/cakewallet_app_logo.png
Normal file
After Width: | Height: | Size: 96 KiB |
BIN
assets/images/cakewallet_icon_1024.png
Normal file
After Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 16 KiB |
BIN
assets/images/monero.com_icon_1024.png
Normal file
After Width: | Height: | Size: 21 KiB |
|
@ -36,6 +36,7 @@ import 'package:cake_wallet/src/screens/root/root.dart';
|
|||
import 'package:uni_links/uni_links.dart';
|
||||
import 'package:cw_core/unspent_coins_info.dart';
|
||||
import 'package:cake_wallet/monero/monero.dart';
|
||||
import 'package:cake_wallet/wallet_type_utils.dart';
|
||||
|
||||
final navigatorKey = GlobalKey<NavigatorState>();
|
||||
final rootKey = GlobalKey<RootState>();
|
||||
|
@ -84,6 +85,10 @@ Future<void> main() async {
|
|||
Hive.registerAdapter(OrderAdapter());
|
||||
}
|
||||
|
||||
if (!isMoneroOnly && !Hive.isAdapterRegistered(UnspentCoinsInfo.typeId)) {
|
||||
Hive.registerAdapter(UnspentCoinsInfoAdapter());
|
||||
}
|
||||
|
||||
final secureStorage = FlutterSecureStorage();
|
||||
final transactionDescriptionsBoxKey = await getEncryptionKey(
|
||||
secureStorage: secureStorage, forKey: TransactionDescription.boxKey);
|
||||
|
|
|
@ -95,8 +95,8 @@ Route<dynamic> createRoute(RouteSettings settings) {
|
|||
builder: (_) => getIt.get<NewWalletTypePage>(
|
||||
param1: (BuildContext context, WalletType type) =>
|
||||
Navigator.of(context)
|
||||
.pushNamed(Routes.preSeed, arguments: type),
|
||||
param2: true));
|
||||
.pushNamed(Routes.newWallet, arguments: type),
|
||||
param2: false));
|
||||
|
||||
case Routes.newWallet:
|
||||
final type = settings.arguments as WalletType;
|
||||
|
|
|
@ -2,19 +2,23 @@
|
|||
|
||||
ICON_120_PATH=""
|
||||
ICON_180_PATH=""
|
||||
ICON_1024_PATH=""
|
||||
DEST_DIR_PATH=`pwd`/../../ios/Runner/Assets.xcassets/AppIcon.appiconset
|
||||
|
||||
case $APP_IOS_TYPE in
|
||||
"monero.com")
|
||||
ICON_120_PATH=`pwd`/../../assets/images/monero.com_icon_120.png
|
||||
ICON_180_PATH=`pwd`/../../assets/images/monero.com_icon_180.png;;
|
||||
ICON_180_PATH=`pwd`/../../assets/images/monero.com_icon_180.png
|
||||
ICON_1024_PATH=`pwd`/../../assets/images/monero.com_icon_1024.png;;
|
||||
"cakewallet")
|
||||
ICON_120_PATH=`pwd`/../../assets/images/cakewallet_icon_120.png
|
||||
ICON_180_PATH=`pwd`/../../assets/images/cakewallet_icon_180.png;;
|
||||
ICON_180_PATH=`pwd`/../../assets/images/cakewallet_icon_180.png
|
||||
ICON_1024_PATH=`pwd`/../../assets/images/cakewallet_icon_1024.png;;
|
||||
esac
|
||||
|
||||
rm $DEST_DIR_PATH/app_icon_120.png
|
||||
rm $DEST_DIR_PATH/app_icon_180.png
|
||||
rm $DEST_DIR_PATH/app_icon_1024.png
|
||||
ln -s $ICON_120_PATH $DEST_DIR_PATH/app_icon_120.png
|
||||
ln -s $ICON_180_PATH $DEST_DIR_PATH/app_icon_180.png
|
||||
|
||||
ln -s $ICON_1024_PATH $DEST_DIR_PATH/app_icon_1024.png
|