Update demo to use SwiftKit 0.7 and SwiftUIKit 2.0
This commit is contained in:
parent
3cd5182ee8
commit
8616c3fc76
|
@ -869,7 +869,7 @@
|
|||
repositoryURL = "https://github.com/danielsaidi/SwiftKit.git";
|
||||
requirement = {
|
||||
kind = upToNextMajorVersion;
|
||||
minimumVersion = 0.4.4;
|
||||
minimumVersion = 0.7.0;
|
||||
};
|
||||
};
|
||||
A9544D51257455CA00522141 /* XCRemoteSwiftPackageReference "SwiftUIKit" */ = {
|
||||
|
@ -877,7 +877,7 @@
|
|||
repositoryURL = "https://github.com/danielsaidi/SwiftUIKit.git";
|
||||
requirement = {
|
||||
kind = upToNextMajorVersion;
|
||||
minimumVersion = 1.3.0;
|
||||
minimumVersion = 2.0.0;
|
||||
};
|
||||
};
|
||||
/* End XCRemoteSwiftPackageReference section */
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
"repositoryURL": "https://github.com/danielsaidi/SwiftKit.git",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "e9409cde362f0affb714544fc93b810172c23653",
|
||||
"version": "0.5.0"
|
||||
"revision": "3cd5182ee809194d0cc17b649daa2e6dca94871b",
|
||||
"version": "0.7.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -15,8 +15,8 @@
|
|||
"repositoryURL": "https://github.com/danielsaidi/SwiftUIKit.git",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "7e43f36509628a59eb99199740bdd89f07eafad2",
|
||||
"version": "1.3.1"
|
||||
"revision": "ad509355ba9bc87f8375a297c3df93acd42e6c01",
|
||||
"version": "2.0.0"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Binary file not shown.
|
@ -35,7 +35,7 @@ private extension BiometricAuthenticationServiceScreen {
|
|||
|
||||
func alert(_ text: String) {
|
||||
let alert = Alert(title: Text(text))
|
||||
DispatchQueue.main.asyncAfter(1.0) {
|
||||
DispatchQueue.main.asyncAfter(seconds: 1.0) {
|
||||
alertContext.present(alert)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ private extension CachedAuthenticationServiceProxyScreen {
|
|||
|
||||
func alert(_ text: String) {
|
||||
let alert = Alert(title: Text(text))
|
||||
DispatchQueue.main.asyncAfter(1.0) {
|
||||
DispatchQueue.main.asyncAfter(seconds: 1.0) {
|
||||
alertContext.present(alert)
|
||||
}
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ private extension CachedAuthenticationServiceProxyScreen {
|
|||
}
|
||||
|
||||
func resetAuthentication() {
|
||||
service.resetUserAuthentication()
|
||||
service.resetUserAuthentication(for: .standard)
|
||||
alert("Authentication has been reset. You now have to perform a new authentication.")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue