fix(examples/file-picker): use CurrentDirectory instead of Path

This commit is contained in:
Maas Lalani
2023-05-31 14:20:18 -04:00
parent 5f7a07b03c
commit 8254e0e472

View File

@@ -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,