From 6008961e246b52e3159d1410c18bfc648ce18bb2 Mon Sep 17 00:00:00 2001 From: Nikolas Rimikis Date: Thu, 31 Aug 2023 00:42:47 +0200 Subject: [PATCH] fix(neon): Fix FilesOptions key Signed-off-by: Nikolas Rimikis --- packages/neon/neon_files/lib/options.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/neon/neon_files/lib/options.dart b/packages/neon/neon_files/lib/options.dart index ceb8f298..0d38419f 100644 --- a/packages/neon/neon_files/lib/options.dart +++ b/packages/neon/neon_files/lib/options.dart @@ -47,7 +47,7 @@ class FilesAppSpecificOptions extends NextcloudAppOptions { late final showHiddenFilesOption = ToggleOption( storage: super.storage, category: generalCategory, - key: 'show-hidden-files', + key: FilesOptionKeys.showHiddenFiles, label: (final context) => AppLocalizations.of(context).optionsShowHiddenFiles, defaultValue: false, ); @@ -125,6 +125,7 @@ class FilesAppSpecificOptions extends NextcloudAppOptions { enum FilesOptionKeys implements Storable { sortProperty._('files-sort-property'), sortOrder._('files-sort-box-order'), + showHiddenFiles._('show-hidden-files'), showPreviews._('show-previews'), uploadQueueParallelism._('upload-queue-parallelism'), downloadQueueParallelism._('download-queue-parallelism'),