Browse Source

Fixed some compiler warnings in PushNotificationsDemo

tags/2021-05-28
Tom Poole 6 years ago
parent
commit
3767ee3811
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      examples/Utilities/PushNotificationsDemo.h

+ 2
- 2
examples/Utilities/PushNotificationsDemo.h View File

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


Loading…
Cancel
Save