aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Messaging/FIRMessagingContextManagerService.m
diff options
context:
space:
mode:
authorGravatar Ryan Wilson <wilsonryan@google.com>2017-12-12 19:18:24 -0500
committerGravatar GitHub <noreply@github.com>2017-12-12 19:18:24 -0500
commit163eeeecb75f24f155becaa76a95574c266d8a4f (patch)
treea2cc0c19031bc6616741fe4634e078f66ad46d4a /Firebase/Messaging/FIRMessagingContextManagerService.m
parente16c38688b1665a1897aa714141c1d0b87576193 (diff)
Revert changes introduced in #546 to fix build breakage. (#562)
Diffstat (limited to 'Firebase/Messaging/FIRMessagingContextManagerService.m')
-rw-r--r--Firebase/Messaging/FIRMessagingContextManagerService.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Firebase/Messaging/FIRMessagingContextManagerService.m b/Firebase/Messaging/FIRMessagingContextManagerService.m
index dffd6ae..232587f 100644
--- a/Firebase/Messaging/FIRMessagingContextManagerService.m
+++ b/Firebase/Messaging/FIRMessagingContextManagerService.m
@@ -143,7 +143,7 @@ typedef NS_ENUM(NSUInteger, FIRMessagingContextManagerMessageType) {
}
if ([apsDictionary[kFIRMessagingContextManagerTitleKey] length]) {
// |alertTitle| is iOS 8.2+, so check if we can set it
- if (@available(iOS 8.2, *)) {
+ if ([notification respondsToSelector:@selector(setAlertTitle:)]) {
notification.alertTitle = apsDictionary[kFIRMessagingContextManagerTitleKey];
}
}