Switch to AlarmManager plugin from WorkManager for more reliable update checking (for #87) (#97)

This commit is contained in:
Imran Remtulla
2022-11-05 23:25:19 -04:00
committed by GitHub
parent bd5f21984e
commit ed4a26d348
6 changed files with 53 additions and 57 deletions

View File

@@ -55,7 +55,7 @@ class SettingsProvider with ChangeNotifier {
}
int get updateInterval {
var min = prefs?.getInt('updateInterval') ?? 60;
var min = prefs?.getInt('updateInterval') ?? 360;
if (!updateIntervals.contains(min)) {
var temp = updateIntervals[0];
for (var i in updateIntervals) {