--- src/gui/systray.mm.orig	2022-07-11 15:31:05.040339481 -0400
+++ src/gui/systray.mm	2022-07-11 15:32:04.592952997 -0400
@@ -18,11 +18,11 @@
     willPresentNotification:(UNNotification *)notification
     withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler
 {
-    if (@available(macOS 11.0, *)) {
-        completionHandler(UNNotificationPresentationOptionSound + UNNotificationPresentationOptionBanner);
-    } else {
-        completionHandler(UNNotificationPresentationOptionSound + UNNotificationPresentationOptionAlert);
-    }
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000
+    completionHandler(UNNotificationPresentationOptionSound + UNNotificationPresentationOptionBanner);
+#else
+    completionHandler(UNNotificationPresentationOptionSound + UNNotificationPresentationOptionAlert);
+#endif
 }
 
 - (void)userNotificationCenter:(UNUserNotificationCenter *)center
