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
commit 9c132eb286
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();