mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-19 05:00:21 +02:00
Added debug menu with on-demand bg task
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user