From 2fbf7e8504d013ad941c9de7b9629397c74673c8 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 3 Dec 2024 23:11:35 +0400 Subject: [PATCH] Fix build with Xcode. --- .../info/bot/starref/info_bot_starref_join_widget.cpp | 2 +- Telegram/build/updates.py | 2 -- cmake | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_join_widget.cpp b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_join_widget.cpp index 780d95f86f..389306661c 100644 --- a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_join_widget.cpp +++ b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_join_widget.cpp @@ -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) { diff --git a/Telegram/build/updates.py b/Telegram/build/updates.py index f6f701eda7..2fef05505e 100644 --- a/Telegram/build/updates.py +++ b/Telegram/build/updates.py @@ -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.') diff --git a/cmake b/cmake index c181046efd..8c146a3ec6 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit c181046efdecf52c372324c74d75118a1b239e8e +Subproject commit 8c146a3ec6f4475e5083eee84d126960495a7e1d