Преглед на файлове

fix(chatview): remove redundant focus call in focusNext

ayn2op преди 4 месеца
родител
ревизия
2ab0b0ed9d
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      cmd/chatview.go

+ 0 - 1
cmd/chatview.go

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