Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bbedward committed Mar 7, 2024
1 parent 36edf6c commit 5f1a062
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/model/db/appdb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,13 @@ ORDER BY
Future<int> saveAccount(Account account) async {
var dbClient = await db;
return await dbClient.rawInsert(
'INSERT INTO Accounts (name, acct_index, last_accessed, selected) values(?, ?, ?, ?)',
'INSERT INTO Accounts (name, acct_index, last_accessed, selected, address) values(?, ?, ?, ?, ?)',
[
account.name,
account.index,
account.lastAccess,
account.selected ? 1 : 0
account.selected ? 1 : 0,
account.address
]);
}

Expand Down
2 changes: 1 addition & 1 deletion lib/ui/settings/settings_drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ class _SettingsSheetState extends State<SettingsSheet>
StateContainer.of(context)
.wallet
.address
.substring(0, 11),
?.substring(0, 11),
style: TextStyle(
fontFamily: "OverpassMono",
fontWeight: FontWeight.w100,
Expand Down

0 comments on commit 5f1a062

Please sign in to comment.