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

Fix build with Xcode.

This commit is contained in:
John Preston
2022-11-02 00:47:25 +04:00
parent e62bdd286d
commit 45cacc94c0
5 changed files with 5 additions and 4 deletions

View File

@@ -1615,7 +1615,6 @@ QPointer<Ui::BoxContent> ShowShareGameBox(
const auto confirm = std::make_shared<QPointer<Ui::BoxContent>>();
auto send = crl::guard(thread, [=] {
ShareBotGame(bot, thread, shortName);
using Way = Window::SectionShow::Way;
if (const auto strong = *weak) {
strong->closeBox();
}