mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-01 13:20:16 +02:00
Toggle to disable update check on detail page (#659), string capitalization consistency
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user