mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-13 09:04:09 +01:00
chore: lints cleanup and localization
This commit is contained in:
@@ -152,15 +152,16 @@ CREATE TABLE IF NOT EXISTS BalanceCardStyleSettings (
|
||||
await _createSplTokenTable(db);
|
||||
await _createTronTokenTable(db);
|
||||
}
|
||||
|
||||
if (oldVersion <= 10) {
|
||||
await _createImportedNFTTable(db);
|
||||
}
|
||||
if (oldVersion <= 11) {
|
||||
await _addColumnIfNotExists(
|
||||
db,
|
||||
table: 'WalletInfo',
|
||||
column: 'showSeedBackupReminder',
|
||||
definition: 'BOOLEAN DEFAULT FALSE',
|
||||
table: "WalletInfo",
|
||||
column: "showSeedBackupReminder",
|
||||
definition: "BOOLEAN DEFAULT FALSE",
|
||||
);
|
||||
}
|
||||
}, onCreate: (Database db, int version) async {
|
||||
|
||||
@@ -621,7 +621,7 @@ class WalletInfo {
|
||||
json['receiveInfoboxDismissed'] != 0,
|
||||
json["showCombinedBalance"] != 0,
|
||||
json["favoriteTokenAddress"] as String? ?? null,
|
||||
json['showSeedBackupReminder'] == 1);
|
||||
json["showSeedBackupReminder"] == 1);
|
||||
info.network = json['network'] as String?;
|
||||
return info;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user