From 8254e0e4721c62d7b479d1103ad24be4f2bde032 Mon Sep 17 00:00:00 2001 From: Maas Lalani Date: Wed, 31 May 2023 14:20:18 -0400 Subject: [PATCH] fix(examples/file-picker): use `CurrentDirectory` instead of Path --- examples/file-picker/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/file-picker/main.go b/examples/file-picker/main.go index 30ecf01..727b880 100644 --- a/examples/file-picker/main.go +++ b/examples/file-picker/main.go @@ -58,7 +58,7 @@ func (m model) View() string { func main() { fp := filepicker.New() - fp.Path, _ = os.UserHomeDir() + fp.CurrentDirectory, _ = os.UserHomeDir() m := model{ filepicker: fp,