mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Version 2.1.12: Fix build on macOS.
This commit is contained in:
parent
3681a5559e
commit
a56ecfebeb
1 changed files with 2 additions and 2 deletions
|
@ -634,11 +634,11 @@ void SetupNotificationsContent(
|
||||||
} else if (Platform::IsWindows()) {
|
} else if (Platform::IsWindows()) {
|
||||||
return tr::lng_settings_use_windows(tr::now);
|
return tr::lng_settings_use_windows(tr::now);
|
||||||
} else if (Platform::IsLinux()) {
|
} else if (Platform::IsLinux()) {
|
||||||
#ifdef Q_OS_UNIX
|
#if defined Q_OS_UNIX && !defined Q_OS_MAC
|
||||||
if (Platform::IsWayland()) {
|
if (Platform::IsWayland()) {
|
||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
#endif // Q_OS_UNIX
|
#endif // Q_OS_UNIX && !Q_OS_MAC
|
||||||
return tr::lng_settings_use_native_notifications(tr::now);
|
return tr::lng_settings_use_native_notifications(tr::now);
|
||||||
}
|
}
|
||||||
return QString();
|
return QString();
|
||||||
|
|
Loading…
Add table
Reference in a new issue