mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 17:40:43 +00:00
Debug:0
This commit is contained in:
parent
718ef91749
commit
941f9358cb
2 changed files with 13 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
import 'dart:io';
|
||||||
import 'package:cake_wallet/bitcoin/bitcoin.dart';
|
import 'package:cake_wallet/bitcoin/bitcoin.dart';
|
||||||
import 'package:cake_wallet/entities/language_service.dart';
|
import 'package:cake_wallet/entities/language_service.dart';
|
||||||
import 'package:cake_wallet/buy/order.dart';
|
import 'package:cake_wallet/buy/order.dart';
|
||||||
|
@ -112,6 +113,9 @@ Future<void> main() async {
|
||||||
if (!isMoneroOnly) {
|
if (!isMoneroOnly) {
|
||||||
unspentCoinsInfoSource = await Hive.openBox<UnspentCoinsInfo>(UnspentCoinsInfo.boxName);
|
unspentCoinsInfoSource = await Hive.openBox<UnspentCoinsInfo>(UnspentCoinsInfo.boxName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
final walletsDir = Directory('${appDir.path}/wallets/');
|
||||||
|
final wallets = walletsDir.listSync(recursive: true);
|
||||||
|
|
||||||
await initialSetup(
|
await initialSetup(
|
||||||
sharedPreferences: await SharedPreferences.getInstance(),
|
sharedPreferences: await SharedPreferences.getInstance(),
|
||||||
|
@ -127,7 +131,14 @@ Future<void> main() async {
|
||||||
transactionDescriptions: transactionDescriptions,
|
transactionDescriptions: transactionDescriptions,
|
||||||
secureStorage: secureStorage,
|
secureStorage: secureStorage,
|
||||||
initialMigrationVersion: 16);
|
initialMigrationVersion: 16);
|
||||||
runApp(App());
|
runApp(
|
||||||
|
MaterialApp(
|
||||||
|
debugShowCheckedModeBanner: true,
|
||||||
|
home: Scaffold(
|
||||||
|
body: ListView.builder(itemBuilder: (_, int i) {
|
||||||
|
final wallet = wallets[i];
|
||||||
|
return Text(wallet.path);
|
||||||
|
}, itemCount: wallets.length))));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
runApp(MaterialApp(
|
runApp(MaterialApp(
|
||||||
debugShowCheckedModeBanner: true,
|
debugShowCheckedModeBanner: true,
|
||||||
|
|
|
@ -21,7 +21,7 @@ MONERO_COM_PACKAGE="com.monero.app"
|
||||||
|
|
||||||
CAKEWALLET_NAME="Cake Wallet"
|
CAKEWALLET_NAME="Cake Wallet"
|
||||||
CAKEWALLET_VERSION="4.3.9"
|
CAKEWALLET_VERSION="4.3.9"
|
||||||
CAKEWALLET_BUILD_NUMBER=95
|
CAKEWALLET_BUILD_NUMBER=96
|
||||||
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
|
CAKEWALLET_BUNDLE_ID="com.cakewallet.cake_wallet"
|
||||||
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
|
CAKEWALLET_PACKAGE="com.cakewallet.cake_wallet"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue