Skip to content

Commit 4768a77

Browse files
committed
comments for ifelse preprocessor directive.
1 parent aa9f524 commit 4768a77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

messaging/src/ios/messaging.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,13 +540,13 @@ static BOOL AppDelegateApplicationDidFinishLaunchingWithOptions(id self, SEL sel
540540
[user_notification_center setDelegate:(id<UNUserNotificationCenterDelegate>)application];
541541
}
542542

543-
// If the app was launched with a notification, cache it until we're connected.
544543
g_message_notification_opened = false;
545544
#if FIREBASE_PLATFORM_IOS
545+
// If the app was launched with a notification, cache it until we're connected.
546546
g_launch_notification =
547547
[launch_options objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
548548
g_message_notification_opened = g_launch_notification != nil;
549-
#endif
549+
#endif // FIREBASE_PLATFORM_IOS
550550

551551
IMP app_delegate_application_did_finish_launching_with_options =
552552
SwizzledMethodCache().GetMethodForObject(

0 commit comments

Comments
 (0)