minor changes

This commit is contained in:
aditya-K2 2022-09-07 11:27:20 +05:30
parent 7e5df526c3
commit 7f4e1460b8
1 changed files with 1 additions and 3 deletions

View File

@ -294,9 +294,7 @@ func main() {
} }
} }
if e == tcell.KeyEscape { if e == tcell.KeyEscape {
if views.GetCurrentView().GetViewName() == "SearchView" { if views.GetCurrentView().GetViewName() == "BuffSearchView" {
} else if views.GetCurrentView().GetViewName() == "BuffSearchView" {
views.SetCurrentView(views.FView)
client.Matches = nil client.Matches = nil
} }
ui.Ui.SearchBar.SetText("") ui.Ui.SearchBar.SetText("")