mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-14 19:21:30 +00:00
Version 2.1.12: Fix build on macOS.
This commit is contained in:
parent
3681a5559e
commit
a56ecfebeb
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user