From 24a35711e385843b35d9a744acd464f84f3c99ad Mon Sep 17 00:00:00 2001 From: Rami Khafagi Date: Mon, 6 Jun 2022 15:05:53 +0200 Subject: [PATCH] Update README.md add braces after `if` --- docs/Guides.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Guides.md b/docs/Guides.md index 2002d003..b6481067 100755 --- a/docs/Guides.md +++ b/docs/Guides.md @@ -53,7 +53,7 @@ window.plugins.appsFlyer.initSdk(options, onSuccess, onError); - (void)viewDidLoad { [super viewDidLoad]; [self.launchView setAlpha:1]; - if @available(iOS 14, *) { [ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus status) { + if (@available(iOS 14, *)) { [ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus status) { NSLog(@"Status: %lu", (unsigned long)status); }]; }} ```