diff --git a/CoreTootin/Controls/BaseComposerTextView.swift b/CoreTootin/Controls/BaseComposerTextView.swift index 27aba64..0d5d15b 100644 --- a/CoreTootin/Controls/BaseComposerTextView.swift +++ b/CoreTootin/Controls/BaseComposerTextView.swift @@ -33,7 +33,7 @@ open class BaseComposerTextView: SuggestionTextView public override func insertNewline(_ sender: Any?) { - guard let activeSuggestionWindowController, activeSuggestionWindowController.isWindowVisible == false else + if activeSuggestionWindowController?.isWindowVisible == true { insertCurrentlySelectedSuggestion() return