Skip to content

Commit

Permalink
deprecate match confidence
Browse files Browse the repository at this point in the history
  • Loading branch information
ulukaya committed Dec 18, 2017
1 parent d2dcc86 commit 6558608
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dynamiclinks/DynamicLinksExample/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ - (BOOL)application:(UIApplication *)application

- (void)handleDynamicLink:(FIRDynamicLink *)dynamicLink {
NSString *matchConfidence;
if (dynamicLink.matchConfidence == FIRDynamicLinkMatchConfidenceWeak) {
if (dynamicLink.matchType == FIRDLMatchTypeWeak) {
matchConfidence = @"Weak";
} else {
matchConfidence = @"Strong";
Expand Down
2 changes: 1 addition & 1 deletion dynamiclinks/DynamicLinksExampleSwift/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

func handleDynamicLink(_ dynamicLink: DynamicLink) {
let matchConfidence: String
if dynamicLink.matchConfidence == .weak {
if dynamicLink.matchType == .weak {
matchConfidence = "Weak"
} else {
matchConfidence = "Strong"
Expand Down

0 comments on commit 6558608

Please sign in to comment.