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
1 changed files with 26 additions and 28 deletions

View File

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