mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Disable newlines in stream comments.
This commit is contained in:
@@ -1073,6 +1073,9 @@ void ComposeControls::setHistory(SetHistoryArgs &&args) {
|
||||
session().local().readDraftsWithCursors(_history);
|
||||
applyDraft();
|
||||
orderControls();
|
||||
_field->setMode(args.videoStream
|
||||
? Ui::InputField::Mode::NoNewlines
|
||||
: Ui::InputField::Mode::MultiLine);
|
||||
}
|
||||
|
||||
void ComposeControls::initLikeButton() {
|
||||
|
||||
+1
-1
Submodule Telegram/lib_ui updated: 4662ced01a...0cd6952069
Reference in New Issue
Block a user