mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-04-13 19:12:11 +00:00
T/F
This commit is contained in:
parent
28d0fc3adf
commit
2fd4f74a41
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user