Toggle to disable update check on detail page (#659), string capitalization consistency

This commit is contained in:
Imran Remtulla
2023-07-14 21:53:50 -04:00
parent 41d9edcf83
commit 2a58ee8729
14 changed files with 53 additions and 15 deletions

View File

@@ -282,4 +282,13 @@ class SettingsProvider with ChangeNotifier {
prefs?.setBool('removeOnExternalUninstall', show);
notifyListeners();
}
bool get checkUpdateOnDetailPage {
return prefs?.getBool('checkUpdateOnDetailPage') ?? true;
}
set checkUpdateOnDetailPage(bool show) {
prefs?.setBool('checkUpdateOnDetailPage', show);
notifyListeners();
}
}