2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Beta version 1.4.4: Correct caption limit.

This commit is contained in:
John Preston
2018-10-17 14:38:07 +03:00
parent 54f2b1b2d8
commit c5d20a21f7
8 changed files with 15 additions and 6 deletions

View File

@@ -209,7 +209,7 @@ EditCaptionBox::EditCaptionBox(
Ui::InputField::Mode::MultiLine,
langFactory(lng_photo_caption),
editData);
_field->setMaxLength(MaxPhotoCaption);
_field->setMaxLength(Global::CaptionLengthMax());
_field->setSubmitSettings(Ui::InputField::SubmitSettings::Both);
_field->setInstantReplaces(Ui::InstantReplaces::Default());
_field->setInstantReplacesEnabled(Global::ReplaceEmojiValue());