mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-09 20:07:51 -06:00
feat: add accessibility setting and conditionally disable animations
This commit is contained in:
@@ -35,6 +35,9 @@ class GlobalSettings with HiveObjectMixin {
|
||||
@HiveField(8, defaultValue: false)
|
||||
bool skipDocumentPreprarationOnUpload;
|
||||
|
||||
@HiveField(9, defaultValue: false)
|
||||
bool disableAnimations;
|
||||
|
||||
GlobalSettings({
|
||||
required this.preferredLocaleSubtag,
|
||||
this.preferredThemeMode = ThemeMode.system,
|
||||
@@ -45,5 +48,6 @@ class GlobalSettings with HiveObjectMixin {
|
||||
this.defaultShareType = FileDownloadType.alwaysAsk,
|
||||
this.enforceSinglePagePdfUpload = false,
|
||||
this.skipDocumentPreprarationOnUpload = false,
|
||||
this.disableAnimations = false,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user