1
0
mirror of https://github.com/maxgoedjen/secretive.git synced 2025-04-13 19:12:11 +00:00
This commit is contained in:
Max Goedjen 2022-03-05 15:56:53 -08:00
parent 28d0fc3adf
commit 2fd4f74a41
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8

View File

@ -7,7 +7,7 @@ struct CreateSecretView<StoreType: SecretStoreModifiable>: View {
@Binding var showing: Bool @Binding var showing: Bool
@State private var name = "" @State private var name = ""
@State private var requiresAuthentication = true @State private var requiresAuthentication = false
var body: some View { var body: some View {
VStack { VStack {
@ -87,7 +87,8 @@ struct ThumbnailPickerView<ValueType: Hashable>: View {
Text(item.name) Text(item.name)
.bold() .bold()
Text(item.description) Text(item.description)
}.onTapGesture { }
.onTapGesture {
selection = item.value selection = item.value
} }
} }
@ -132,6 +133,7 @@ struct SystemBackgroundView: View {
.resizable() .resizable()
.scaleEffect(3, anchor: anchor) .scaleEffect(3, anchor: anchor)
.clipped() .clipped()
.allowsHitTesting(false)
@unknown default: @unknown default:
Rectangle() Rectangle()
.foregroundColor(Color(.systemPurple)) .foregroundColor(Color(.systemPurple))