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

Fixed some compiler warnings in PushNotificationsDemo

This commit is contained in:
Tom Poole 2019-05-28 11:45:49 +01:00
parent ceff63fad7
commit 3767ee3811

View file

@ -176,11 +176,11 @@ public:
auxActionsView.removeAllDeliveredNotifsButton .onClick = []
{ PushNotifications::getInstance()->removeAllDeliveredNotifications(); };
#if JUCE_IOS || JUCE_MAC
auxActionsView.getPendingNotificationsButton .onClick = [this]
auxActionsView.getPendingNotificationsButton .onClick = []
{ PushNotifications::getInstance()->getPendingLocalNotifications(); };
auxActionsView.removePendingNotifWithIdButton.onClick = [this]
{ PushNotifications::getInstance()->removePendingLocalNotification (auxActionsView.pendingNotifIdentifier.getText()); };
auxActionsView.removeAllPendingNotifsButton .onClick = [this]
auxActionsView.removeAllPendingNotifsButton .onClick = []
{ PushNotifications::getInstance()->removeAllPendingLocalNotifications(); };
#endif