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
No known key found for this signature in database
GPG Key ID: 5A6ED5CBF1A0A000
1 changed files with 1 additions and 1 deletions

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,