Added debug menu with on-demand bg task

This commit is contained in:
Imran Remtulla
2023-08-22 17:36:13 -04:00
parent 9eb32ae55a
commit 5cfd80e510
2 changed files with 48 additions and 1 deletions

View File

@@ -330,4 +330,13 @@ class SettingsProvider with ChangeNotifier {
prefs?.setInt('lastBGCheckTime', val.millisecondsSinceEpoch);
notifyListeners();
}
bool get showDebugOpts {
return prefs?.getBool('showDebugOpts') ?? false;
}
set showDebugOpts(bool val) {
prefs?.setBool('showDebugOpts', val);
notifyListeners();
}
}