mirror of
https://github.com/maxgoedjen/secretive.git
synced 2024-11-22 13:37:07 +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: "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))
|
||||
|
Loading…
Reference in New Issue
Block a user