Added Search Section

This commit is contained in:
aditya-K2 2021-11-16 20:06:12 +05:30
parent 4c7378e77c
commit fde7bdd1c7

1
App.go
View File

@ -40,6 +40,7 @@ func newApplication(r *Renderer) *Application {
Navbar.SetCell(0, 0, tview.NewTableCell("PlayList")) Navbar.SetCell(0, 0, tview.NewTableCell("PlayList"))
Navbar.SetCell(1, 0, tview.NewTableCell("Files")) Navbar.SetCell(1, 0, tview.NewTableCell("Files"))
Navbar.SetCell(2, 0, tview.NewTableCell("Most Played")) Navbar.SetCell(2, 0, tview.NewTableCell("Most Played"))
Navbar.SetCell(3, 0, tview.NewTableCell("Search"))
searchNavFlex := tview.NewFlex().SetDirection(tview.FlexRow). searchNavFlex := tview.NewFlex().SetDirection(tview.FlexRow).
AddItem(Navbar, 0, 4, false). AddItem(Navbar, 0, 4, false).