mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Remove some usages of App::main().
This commit is contained in:
@@ -2069,13 +2069,13 @@ void SendFilesBox::setupCaption() {
|
||||
_controller->session().settings().replaceEmojiValue());
|
||||
_caption->setMarkdownReplacesEnabled(rpl::single(true));
|
||||
_caption->setEditLinkCallback(
|
||||
DefaultEditLinkCallback(&_controller->session(), _caption));
|
||||
DefaultEditLinkCallback(_controller, _caption));
|
||||
Ui::Emoji::SuggestionsController::Init(
|
||||
getDelegate()->outerContainer(),
|
||||
_caption,
|
||||
&_controller->session());
|
||||
|
||||
InitSpellchecker(&_controller->session(), _caption);
|
||||
InitSpellchecker(_controller, _caption);
|
||||
|
||||
updateCaptionPlaceholder();
|
||||
setupEmojiPanel();
|
||||
|
Reference in New Issue
Block a user