mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Version 4.11.2: Fix build with Xcode.
This commit is contained in:
parent
a7b60c43b5
commit
7808cc6d41
1 changed files with 1 additions and 1 deletions
|
@ -1540,7 +1540,7 @@ void AttachWebView::confirmAddToMenu(
|
|||
const auto disclaimer = !disclaimerAccepted(bot);
|
||||
const auto done = [=](Fn<void()> close) {
|
||||
const auto state = (disclaimer
|
||||
|| (*allowed) && (*allowed)->checked())
|
||||
|| ((*allowed) && (*allowed)->checked()))
|
||||
? ToggledState::AllowedToWrite
|
||||
: ToggledState::Added;
|
||||
toggleInMenu(bot.user, state, [=] {
|
||||
|
|
Loading…
Add table
Reference in a new issue