mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix build with new Xcode.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user