mirror of
https://github.com/maxgoedjen/secretive.git
synced 2024-11-22 21:47:08 +00:00
WIP
This commit is contained in:
parent
ee850e58d1
commit
964ef1e201
@ -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(3)
|
||||||
// .scaleEffect(1)
|
|
||||||
// }
|
|
||||||
@unknown default:
|
@unknown default:
|
||||||
Rectangle()
|
Rectangle()
|
||||||
.foregroundColor(Color(.systemPurple))
|
.foregroundColor(Color(.systemPurple))
|
||||||
|
Loading…
Reference in New Issue
Block a user