minor changes

This commit is contained in:
aditya-K2 2022-09-07 11:27:20 +05:30
parent 7e5df526c3
commit 7f4e1460b8

View File

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