Added field label and updated option text

This commit is contained in:
Josh Heyse 2021-01-30 22:23:00 -06:00
parent 2459f7ac29
commit 7653d6960b

View File

@ -27,9 +27,9 @@ struct CreateSecretView<StoreType: SecretStoreModifiable>: View {
} }
HStack { HStack {
VStack(spacing: 20) { VStack(spacing: 20) {
Picker("", selection: $requiresAuthentication) { Picker("Authentication", selection: $requiresAuthentication) {
Text("Requires authentication (Biometrics or Password) before each use").tag(true) Text("Required (Biometrics or Password) before each use").tag(true)
Text("Does not require authentication for each use once the user unlocks the computer").tag(false) Text("Not required for each use once the user unlocks the computer").tag(false)
} }
.pickerStyle(RadioGroupPickerStyle()) .pickerStyle(RadioGroupPickerStyle())
} }