2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Add a comment field to ShareBox.

This commit is contained in:
John Preston
2018-11-04 11:32:26 +04:00
parent 65b2db2160
commit 5f665b8ecb
8 changed files with 369 additions and 250 deletions

View File

@@ -1582,8 +1582,7 @@ void SendFilesBox::setupCaption() {
_caption->setInstantReplaces(Ui::InstantReplaces::Default());
_caption->setInstantReplacesEnabled(Global::ReplaceEmojiValue());
_caption->setMarkdownReplacesEnabled(rpl::single(true));
_caption->setEditLinkCallback(
DefaultEditLinkCallback(_controller, _caption));
_caption->setEditLinkCallback(DefaultEditLinkCallback(_caption));
}
void SendFilesBox::captionResized() {