From 2a38a8892c5cfff2d9e64fbcd67a57b84f4b2f66 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Thu, 18 Feb 2021 13:10:54 +0000 Subject: [PATCH] Improve hidden files on macOS. --- file_darwin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/file_darwin.go b/file_darwin.go index b9651ae..5862a95 100644 --- a/file_darwin.go +++ b/file_darwin.go @@ -72,13 +72,13 @@ func selectFileSave(options []Option) (string, error) { opts := applyOptions(options) data := zenutil.File{ - Prompt: opts.title, + Prompt: opts.title, + Invisibles: opts.showHidden, } if opts.directory { data.Operation = "chooseFolder" } else { data.Operation = "chooseFileName" - data.Type = initFilters(opts.fileFilters) } data.Location, data.Name = splitDirAndName(opts.filename)