@@ -49,7 +49,7 @@ func NewFilePickerCmp(workingDir string) FilePicker {
49 t := styles.CurrentTheme()
49 t := styles.CurrentTheme()
50 fp := filepicker.New()
50 fp := filepicker.New()
51 fp.AllowedTypes = []string{".jpg", ".jpeg", ".png"}
51 fp.AllowedTypes = []string{".jpg", ".jpeg", ".png"}
53 if workingDir != "" {
53 if workingDir != "" {
54 fp.CurrentDirectory = workingDir
54 fp.CurrentDirectory = workingDir
@@ -60,7 +60,7 @@ func NewFilePickerCmp(workingDir string) FilePicker {
60 fp.CurrentDirectory, _ = os.UserHomeDir()
60 fp.CurrentDirectory, _ = os.UserHomeDir()
64 fp.ShowPermissions = false
64 fp.ShowPermissions = false
65 fp.ShowSize = false
65 fp.ShowSize = false
66 fp.AutoHeight = false
66 fp.AutoHeight = false