mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Added ability to use EditLinkBox without SessionController.
This commit is contained in:
@@ -851,7 +851,10 @@ not_null<Ui::InputField*> CreatePollBox::setupSolution(
|
||||
Core::App().settings().replaceEmojiValue());
|
||||
solution->setMarkdownReplacesEnabled(rpl::single(true));
|
||||
solution->setEditLinkCallback(
|
||||
DefaultEditLinkCallback(_controller, solution));
|
||||
DefaultEditLinkCallback(
|
||||
std::make_shared<Window::Show>(_controller),
|
||||
session,
|
||||
solution));
|
||||
solution->customTab(true);
|
||||
|
||||
const auto warning = CreateWarningLabel(
|
||||
|
Reference in New Issue
Block a user