Rename DirectoryView to Directory

This commit is contained in:
Sasha Koshka
2023-03-23 15:56:56 -04:00
parent 6638a471c7
commit 45021b6153
2 changed files with 30 additions and 30 deletions

View File

@@ -41,7 +41,7 @@ func run () {
baseName := basicElements.NewLabel(filepath.Base(homeDir), false)
scrollContainer := containers.NewScrollContainer(false, true)
directoryView, _ := fileElements.NewDirectoryView(homeDir, nil)
directoryView, _ := fileElements.NewDirectory(homeDir, nil)
updateStatus := func () {
filePath, _ := directoryView.Location()
directory.SetLocation(filePath, nil)