mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-26 03:03:45 +01:00
Move to plugins🐱🎉
This commit is contained in:
@@ -82,6 +82,15 @@ class SettingsProvider with ChangeNotifier {
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
bool get pretendToBeGooglePlay{
|
||||
return prefs?.getBool('pretendToBeGooglePlay') ?? false;
|
||||
}
|
||||
|
||||
set pretendToBeGooglePlay(bool pretendToBeGooglePlay) {
|
||||
prefs?.setBool('pretendToBeGooglePlay', pretendToBeGooglePlay);
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
ThemeSettings get theme {
|
||||
return ThemeSettings
|
||||
.values[prefs?.getInt('theme') ?? ThemeSettings.system.index];
|
||||
|
||||
Reference in New Issue
Block a user