mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-31 21:00:15 +02:00
Make page transition animation optional (#683)
This commit is contained in:
@@ -291,4 +291,13 @@ class SettingsProvider with ChangeNotifier {
|
||||
prefs?.setBool('checkUpdateOnDetailPage', show);
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
bool get disablePageTransitions {
|
||||
return prefs?.getBool('disablePageTransitions') ?? false;
|
||||
}
|
||||
|
||||
set disablePageTransitions(bool show) {
|
||||
prefs?.setBool('disablePageTransitions', show);
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user