From a56ecfebebadc3134be096177b6858dfb235ed56 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 17 Jun 2020 22:36:53 +0400 Subject: [PATCH] Version 2.1.12: Fix build on macOS. --- Telegram/SourceFiles/settings/settings_notifications.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/settings/settings_notifications.cpp b/Telegram/SourceFiles/settings/settings_notifications.cpp index 3c0e7f42be..59996f7b31 100644 --- a/Telegram/SourceFiles/settings/settings_notifications.cpp +++ b/Telegram/SourceFiles/settings/settings_notifications.cpp @@ -634,11 +634,11 @@ void SetupNotificationsContent( } else if (Platform::IsWindows()) { return tr::lng_settings_use_windows(tr::now); } else if (Platform::IsLinux()) { -#ifdef Q_OS_UNIX +#if defined Q_OS_UNIX && !defined Q_OS_MAC if (Platform::IsWayland()) { return QString(); } -#endif // Q_OS_UNIX +#endif // Q_OS_UNIX && !Q_OS_MAC return tr::lng_settings_use_native_notifications(tr::now); } return QString();