Skip to content

Commit

Permalink
wip; Current TODOs
Browse files Browse the repository at this point in the history
Also need tests for the global store change.

And UI for updating the settings.

Signed-off-by: Zixuan James Li <[email protected]>
  • Loading branch information
PIG208 committed Dec 17, 2024
1 parent 247ee54 commit d5c014e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/model/database.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ enum BrowserPreference {
/// install of the app on this device).
@DataClassName('GlobalSettingsData')
class GlobalSettings extends Table {
// TODO(db): Maybe make this optional and/or use clientDefault?
Column<String> get themeSetting => textEnum<ThemeSetting>()();

// TODO(db): Maybe make this optional and/or use clientDefault?
Column<String> get browserPreference => textEnum<BrowserPreference>()();
}

Expand Down

0 comments on commit d5c014e

Please sign in to comment.