1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

MessageManager: Fix build issue introduced in 95f823ff72

This commit is contained in:
reuk 2023-03-15 21:27:46 +00:00
parent 921baaeb57
commit 5e866b6156
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -138,8 +138,10 @@ struct AppDelegateClass : public ObjCClass<NSObject>
NSUserNotification* userNotification = notification.userInfo[NSApplicationLaunchUserNotificationKey];
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wnullable-to-nonnull-conversion")
if (userNotification != nil && userNotification.userInfo != nil)
didReceiveRemoteNotification (self, nil, [NSApplication sharedApplication], userNotification.userInfo);
[self application: [NSApplication sharedApplication] didReceiveRemoteNotification: userNotification.userInfo];
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
}
});