fix(chatview): remove redundant focus call in focusNext
This commit is contained in:
parent
cd592ae8ed
commit
2ab0b0ed9d
1 changed files with 0 additions and 1 deletions
|
|
@ -123,7 +123,6 @@ func (cv *chatView) focusNext() {
|
|||
cv.app.SetFocus(cv.messagesList)
|
||||
case cv.messagesList:
|
||||
cv.focusMessageInput()
|
||||
cv.app.SetFocus(cv.messageInput)
|
||||
case cv.messageInput: // Handle both a.messageInput and a.flex as well as other edge cases (if there is).
|
||||
if ok := cv.focusGuildsTree(); !ok {
|
||||
cv.app.SetFocus(cv.messagesList)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue