Browse Source

fix(neon): Fix FilesOptions key

Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
pull/688/head
Nikolas Rimikis 1 year ago
parent
commit
6008961e24
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 3
      packages/neon/neon_files/lib/options.dart

3
packages/neon/neon_files/lib/options.dart

@ -47,7 +47,7 @@ class FilesAppSpecificOptions extends NextcloudAppOptions {
late final showHiddenFilesOption = ToggleOption( late final showHiddenFilesOption = ToggleOption(
storage: super.storage, storage: super.storage,
category: generalCategory, category: generalCategory,
key: 'show-hidden-files', key: FilesOptionKeys.showHiddenFiles,
label: (final context) => AppLocalizations.of(context).optionsShowHiddenFiles, label: (final context) => AppLocalizations.of(context).optionsShowHiddenFiles,
defaultValue: false, defaultValue: false,
); );
@ -125,6 +125,7 @@ class FilesAppSpecificOptions extends NextcloudAppOptions {
enum FilesOptionKeys implements Storable { enum FilesOptionKeys implements Storable {
sortProperty._('files-sort-property'), sortProperty._('files-sort-property'),
sortOrder._('files-sort-box-order'), sortOrder._('files-sort-box-order'),
showHiddenFiles._('show-hidden-files'),
showPreviews._('show-previews'), showPreviews._('show-previews'),
uploadQueueParallelism._('upload-queue-parallelism'), uploadQueueParallelism._('upload-queue-parallelism'),
downloadQueueParallelism._('download-queue-parallelism'), downloadQueueParallelism._('download-queue-parallelism'),

Loading…
Cancel
Save