mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Version 4.11.2: Fix build with Xcode.
This commit is contained in:
@@ -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, [=] {
|
||||
|
||||
Reference in New Issue
Block a user