Remove branches for iOS 12 compatibility
This commit is contained in:
parent
7000834575
commit
b09bc7444f
7 changed files with 17 additions and 59 deletions
|
|
@ -27,9 +27,7 @@ public class YubiKeyConnection: NSObject {
|
|||
completion(connection)
|
||||
} else {
|
||||
connectionCallback = completion
|
||||
if #available(iOSApplicationExtension 13.0, *) {
|
||||
YubiKitManager.shared.startNFCConnection()
|
||||
}
|
||||
YubiKitManager.shared.startNFCConnection()
|
||||
}
|
||||
cancellationCallback = cancellation
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue