Skip to content

Commit 6ac90bf

Browse files
dstranzE-B-Smith
authored andcommitted
Fix inconsistency between Objective-C and Swift example (#846)
1 parent 21e1131 commit 6ac90bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,9 @@ func application(_ application: UIApplication, open url: URL, sourceApplication:
341341
}
342342

343343
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([Any]?) -> Void) -> Bool {
344-
Branch.getInstance().continue(userActivity)
344+
let handledByBranch = Branch.getInstance().continue(userActivity)
345345

346-
return true
346+
return handledByBranch
347347
}
348348

349349
func application(_ application: UIApplication, didReceiveRemoteNotification launchOptions: [AnyHashable: Any]) -> Void {

0 commit comments

Comments
 (0)