Added option to disable background update checking

This commit is contained in:
Imran Remtulla
2022-09-16 19:53:57 -04:00
parent 294327bde4
commit 42bba0f64c
3 changed files with 14 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ class SettingsProvider with ChangeNotifier {
}
set updateInterval(int min) {
prefs?.setInt('updateInterval', min < 15 ? 15 : min);
prefs?.setInt('updateInterval', (min < 15 && min != 0) ? 15 : min);
notifyListeners();
}