fix(chatview): remove redundant focus call in focusNext

This commit is contained in:
ayn2op 2025-12-09 19:59:37 -05:00
parent cd592ae8ed
commit 2ab0b0ed9d

View file

@ -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)