Button -> Link

This commit is contained in:
Max Goedjen 2020-09-18 14:05:31 -07:00
parent 113dd7b824
commit 5601d7eab8
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8

View File

@ -6,11 +6,7 @@ struct NoStoresView: View {
VStack {
Text("No Secure Storage Available").bold()
Text("Your Mac doesn't have a Secure Enclave, and there's not a compatible Smart Card inserted.")
Button(action: {
NSWorkspace.shared.open(URL(string: "https://www.yubico.com/products/compare-yubikey-5-series/")!)
}) {
Text("If you're looking to add one to your Mac, the YubiKey 5 Series are great.")
}
Link("If you're looking to add one to your Mac, the YubiKey 5 Series are great.", destination: URL(string: "https://www.yubico.com/products/compare-yubikey-5-series/")!)
}.padding()
}