Fix build with Xcode.

This commit is contained in:
John Preston 2024-12-03 23:11:35 +04:00
parent 6864e6d5bf
commit 2fbf7e8504
3 changed files with 2 additions and 4 deletions

View File

@ -600,7 +600,7 @@ void RevokeLink(
)).done([=] {
controller->showToast({
.title = tr::lng_star_ref_revoked_title(tr::now),
.text = tr::lng_star_ref_revoked_text(tr::now),
.text = { tr::lng_star_ref_revoked_text(tr::now) },
});
revoked();
}).fail([=](const MTP::Error &error) {

View File

@ -89,8 +89,6 @@ if building:
finish(1, 'Updater not found.')
elif not os.path.exists('Telegram.app/Contents/Helpers/crashpad_handler'):
finish(1, 'crashpad_handler not found.')
elif not os.path.exists('Telegram.app/Contents/Resources/Icon.icns'):
finish(1, 'Icon not found.')
elif not os.path.exists('Telegram.app/Contents/_CodeSignature'):
finish(1, 'Signature not found.')

2
cmake

@ -1 +1 @@
Subproject commit c181046efdecf52c372324c74d75118a1b239e8e
Subproject commit 8c146a3ec6f4475e5083eee84d126960495a7e1d