diff --git a/.swiftlint.yml b/.swiftlint.yml index 998f8251c..6d386548e 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -45,7 +45,6 @@ only_rules: # - trailing_whitespace # - vertical_whitespace - - custom_rules # Rules configuration diff --git a/Simplenote/SPAppDelegate+Extensions.swift b/Simplenote/SPAppDelegate+Extensions.swift index 4e19255b3..151fc1c60 100644 --- a/Simplenote/SPAppDelegate+Extensions.swift +++ b/Simplenote/SPAppDelegate+Extensions.swift @@ -452,13 +452,13 @@ extension SPAppDelegate { func performMagicLinkAuthentication(with url: URL) -> Bool { MagicLinkAuthenticator(authenticator: simperium.authenticator).handle(url: url) } - + @objc(performMagicLinkAuthenticationWithUserActivity:) func performMagicLinkAuthentication(with userActivity: NSUserActivity) -> Bool { guard let url = userActivity.webpageURL else { return false } - + return performMagicLinkAuthentication(with: url) } }