diff --git a/assets/images/seed_warning_dark.svg b/assets/images/seed_warning_dark.svg
deleted file mode 100644
index 0a47254ff..000000000
--- a/assets/images/seed_warning_dark.svg
+++ /dev/null
@@ -1,86 +0,0 @@
-
diff --git a/assets/images/seed_warning_light.svg b/assets/images/seed_warning_light.svg
deleted file mode 100644
index cab27ec31..000000000
--- a/assets/images/seed_warning_light.svg
+++ /dev/null
@@ -1,111 +0,0 @@
-
diff --git a/cw_core/lib/db/sqlite.dart b/cw_core/lib/db/sqlite.dart
index 1c8ade037..07297449b 100644
--- a/cw_core/lib/db/sqlite.dart
+++ b/cw_core/lib/db/sqlite.dart
@@ -63,7 +63,7 @@ Future _initDb({String? pathOverride}) async {
}
}
await db?.close();
- db = await openDatabase(dbFile.path, version: 11,
+ db = await openDatabase(dbFile.path, version: 12,
onUpgrade: (Database db, int oldVersion, int newVersion) async {
printV("migrating: $oldVersion, $newVersion");
if (oldVersion <= 1) {
@@ -156,6 +156,14 @@ CREATE TABLE IF NOT EXISTS BalanceCardStyleSettings (
if (oldVersion <= 10) {
await _createImportedNFTTable(db);
}
+ if (oldVersion <= 11) {
+ await _addColumnIfNotExists(
+ db,
+ table: "WalletInfo",
+ column: "showSeedBackupReminder",
+ definition: "BOOLEAN DEFAULT FALSE",
+ );
+ }
}, onCreate: (Database db, int version) async {
await db.execute('''
CREATE TABLE WalletInfo (
@@ -182,7 +190,8 @@ CREATE TABLE WalletInfo (
sortOrder INTEGER DEFAULT (0) NOT NULL,
receiveInfoboxDismissed BOOLEAN DEFAULT FALSE,
showCombinedBalance BOOLEAN DEFAULT TRUE,
- favoriteTokenAddress TEXT DEFAULT NULL
+ favoriteTokenAddress TEXT DEFAULT NULL,
+ showSeedBackupReminder BOOLEAN DEFAULT FALSE
);
''');
diff --git a/cw_core/lib/wallet_info.dart b/cw_core/lib/wallet_info.dart
index 585ce3b3a..59c87dd55 100644
--- a/cw_core/lib/wallet_info.dart
+++ b/cw_core/lib/wallet_info.dart
@@ -349,7 +349,8 @@ class WalletInfo {
this.addressPageType,
this.receiveInfoboxDismissed,
this.showCombinedBalance,
- this.favoriteTokenAddress)
+ this.favoriteTokenAddress,
+ this.showSeedBackupReminder)
: _yatLastUsedAddressController = StreamController.broadcast();
factory WalletInfo.external(
@@ -397,7 +398,8 @@ class WalletInfo {
null,
receiveInfoboxDismissed ?? false,
showCombinedBalance ?? true,
- favoriteTokenAddress);
+ favoriteTokenAddress,
+ false);
}
static String get tableName => 'walletInfo';
@@ -418,6 +420,7 @@ class WalletInfo {
bool receiveInfoboxDismissed;
bool showCombinedBalance;
String? favoriteTokenAddress;
+ bool showSeedBackupReminder;
Future