Skip to content

Commit

Permalink
fix(examples/file-picker): use CurrentDirectory instead of Path
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed May 31, 2023
1 parent 5f7a07b commit 8254e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/file-picker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8254e0e

Please sign in to comment.