Pick export dir + auto-export (#283, #600)

This commit is contained in:
Imran Remtulla
2023-09-10 22:35:28 -04:00
parent 6e735b1763
commit 53cf4d0234
19 changed files with 41 additions and 81 deletions

View File

@@ -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();
}
}