mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-23 02:43:46 +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