minor changes: using default color for searchbar

This commit is contained in:
aditya-K2 2021-11-15 22:18:27 +05:30
parent 0fc7c61dfb
commit fd2a4af4c7

2
App.go
View File

@ -22,7 +22,7 @@ func newApplication(r *Renderer) *Application {
expandedView := tview.NewTable()
Navbar := tview.NewTable()
searchBar := tview.NewInputField()
searchBar.SetFieldBackgroundColor(tcell.GetColor("#000000"))
searchBar.SetFieldBackgroundColor(tcell.ColorDefault)
imagePreviewer := tview.NewBox()
imagePreviewer.SetBorder(true)
imagePreviewer.SetDrawFunc(func(s tcell.Screen, x, y, width, height int) (int, int, int, int) {