@@ -21,9 +21,9 @@ import (
24− MaxAttachmentSize = int64(5 * 1024 * 1024) // 5MB
24+ MaxAttachmentSize = int64(5 * 1024 * 1024) // 5MB
25− FilePickerID = "filepicker"
25+ FilePickerID = "filepicker"
26− fileSelectionHight = 10
26+ fileSelectionHeight = 10
29type FilePickedMsg struct {
29type FilePickedMsg struct {
@@ -68,7 +68,7 @@ func NewFilePickerCmp(workingDir string) FilePicker {
68 fp.AutoHeight = false
68 fp.AutoHeight = false
69 fp.Styles = t.S().FilePicker
69 fp.Styles = t.S().FilePicker
70 fp.Cursor = ""
70 fp.Cursor = ""
71− fp.SetHeight(fileSelectionHight)
71+ fp.SetHeight(fileSelectionHeight)
73 image := image.New(1, 1, "")
73 image := image.New(1, 1, "")