This commit is contained in:
Max Goedjen 2022-02-27 15:09:59 -08:00
parent ee850e58d1
commit 964ef1e201
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8

View File

@ -28,16 +28,16 @@ struct CreateSecretView<StoreType: SecretStoreModifiable>: View {
ThumbnailPickerView.Item(name: "Requires Authentication Before Use", thumbnail: Text("")), ThumbnailPickerView.Item(name: "Requires Authentication Before Use", thumbnail: Text("")),
ThumbnailPickerView.Item(name: "Notify on Use", thumbnail: Text("")) ThumbnailPickerView.Item(name: "Notify on Use", thumbnail: Text(""))
], selection: $test) ], selection: $test)
// HStack { // HStack {
// VStack(spacing: 20) { // VStack(spacing: 20) {
// Picker("", selection: $requiresAuthentication) { // Picker("", selection: $requiresAuthentication) {
// Text("Requires Authentication (Biometrics or Password) before each use").tag(true) // Text("Requires Authentication (Biometrics or Password) before each use").tag(true)
// Text("Authentication not required when Mac is unlocked").tag(false) // Text("Authentication not required when Mac is unlocked").tag(false)
// } // }
// .pickerStyle(SegmentedPickerStyle()) // .pickerStyle(SegmentedPickerStyle())
// } // }
// Spacer() // Spacer()
// } // }
} }
} }
HStack { HStack {
@ -101,11 +101,9 @@ struct AuthenticationView: View {
Rectangle() Rectangle()
.foregroundColor(Color(.systemPurple)) .foregroundColor(Color(.systemPurple))
case .success(let image): case .success(let image):
// ScrollView {
image image
.resizable() .resizable()
// .scaleEffect(1) .scaleEffect(3)
// }
@unknown default: @unknown default:
Rectangle() Rectangle()
.foregroundColor(Color(.systemPurple)) .foregroundColor(Color(.systemPurple))