mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-22 10:23:45 +02:00
@@ -391,12 +391,12 @@ class SettingsProvider with ChangeNotifier {
|
||||
}
|
||||
}
|
||||
|
||||
int get autoExportOnUpdateCheckKeepNum {
|
||||
return prefs?.getInt('autoExportOnUpdateCheckKeepNum') ?? 0;
|
||||
bool get autoExportOnChanges {
|
||||
return prefs?.getBool('autoExportOnChanges') ?? false;
|
||||
}
|
||||
|
||||
set autoExportOnUpdateCheckKeepNum(int val) {
|
||||
prefs?.setInt('autoExportOnUpdateCheckKeepNum', val);
|
||||
set autoExportOnChanges(bool val) {
|
||||
prefs?.setBool('autoExportOnChanges', val);
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user