secretive/Secretive/Views/NoStoresView.swift

24 lines
604 B
Swift
Raw Normal View History

2020-03-21 03:20:20 +00:00
import SwiftUI
struct NoStoresView: View {
2020-09-22 06:12:50 +00:00
2020-03-21 03:20:20 +00:00
var body: some 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.")
2020-09-22 06:12:50 +00:00
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/")!)
2020-03-21 03:20:20 +00:00
}.padding()
}
2020-09-22 06:12:50 +00:00
2020-03-21 03:20:20 +00:00
}
2020-09-22 06:12:50 +00:00
#if DEBUG
2020-03-21 03:20:20 +00:00
struct NoStoresView_Previews: PreviewProvider {
static var previews: some View {
NoStoresView()
}
}
2020-09-22 06:12:50 +00:00
#endif