fix staticcheck S1005: remove unnecessary blank identifier
This commit is contained in:
@@ -80,7 +80,7 @@ func (ui *Ui) Active() string {
|
||||
}
|
||||
|
||||
func (ui *Ui) SetActive(name string) {
|
||||
element, _ := ui.elements[name]
|
||||
element := ui.elements[name]
|
||||
if ui.activeElement != nil {
|
||||
ui.activeElement.View.uiSetActive(false)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user