mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-22 05:59:30 +02: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