Merge pull request #3839 from grummbeer/fix-file-manager-hidden-files

File Manager. Fix wrong state of checkbox "show hidden files"
This commit is contained in:
RustDesk
2023-03-30 08:35:42 +08:00
committed by GitHub

View File

@@ -802,7 +802,7 @@ class _FileManagerViewState extends State<FileManagerView> {
switchType: SwitchType.scheckbox,
text: translate("Show Hidden Files"),
getter: () async {
return controller.options.value.isWindows;
return controller.options.value.showHidden;
},
setter: (bool v) async {
controller.toggleShowHidden();