Version 4.11.2: Fix build with Xcode.

This commit is contained in:
John Preston 2023-11-01 22:57:36 +04:00
parent a7b60c43b5
commit 7808cc6d41
1 changed files with 1 additions and 1 deletions

View File

@ -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, [=] {