2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Detach ComposeControls from SessionController.

This commit is contained in:
John Preston
2023-05-02 13:33:19 +04:00
parent 665467b02d
commit 65afa2c402
178 changed files with 2080 additions and 1869 deletions

View File

@@ -860,12 +860,10 @@ void TopBarUser::updateTitle(
auto link = std::make_shared<LambdaClickHandler>([=,
stickerSetIdentifier = stickerInfo->set] {
setPaused(true);
const auto box = controller->show(
Box<StickerSetBox>(
controller,
stickerSetIdentifier,
Data::StickersType::Emoji),
Ui::LayerOption::KeepOther);
const auto box = controller->show(Box<StickerSetBox>(
controller->uiShow(),
stickerSetIdentifier,
Data::StickersType::Emoji));
box->boxClosing(
) | rpl::start_with_next(crl::guard(this, [=] {