Fix build with new Xcode.

This commit is contained in:
John Preston
2025-08-08 11:26:39 +04:00
parent efb213fb9f
commit 536884bb46
3 changed files with 3 additions and 3 deletions
@@ -1257,7 +1257,7 @@ void Controller::fillAutoTranslateButton() {
_navigation->uiShow(),
_peer,
[=](int level) {
if (const auto strong = weak.get()) {
if (weak.get()) {
state->isLocked = (level < requiredLevel);
}
return (level < requiredLevel)