Explorar o código

Refactor redundant modification of default properties

rigormorrtiss %!s(int64=4) %!d(string=hai) anos
pai
achega
cc29b2426e
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      ui/textviews.go

+ 0 - 2
ui/textviews.go

@@ -9,9 +9,7 @@ import (
 func NewMessagesTextView(onMessagesTextViewChanged func(), theme *util.Theme) (messagesTextView *tview.TextView) {
 	messagesTextView = tview.NewTextView().
 		SetDynamicColors(true).
-		SetWrap(true).
 		SetWordWrap(true).
-		SetScrollable(true).
 		ScrollToEnd().
 		SetChangedFunc(onMessagesTextViewChanged)
 	messagesTextView.