Localize unset

This commit is contained in:
Garth Vander Houwen 2022-12-30 17:44:39 -08:00
parent ed9f66148c
commit 77ab77e2c7
6 changed files with 17 additions and 25 deletions

View file

@ -124,9 +124,7 @@ struct CannedMessagesConfig: View {
ForEach(0..<40) {
if $0 == 0 {
Text("Unset")
Text("unset")
} else {
Text("Pin \($0)")
@ -141,9 +139,7 @@ struct CannedMessagesConfig: View {
ForEach(0..<40) {
if $0 == 0 {
Text("Unset")
Text("unset")
} else {
Text("Pin \($0)")
@ -158,9 +154,7 @@ struct CannedMessagesConfig: View {
ForEach(0..<40) {
if $0 == 0 {
Text("Unset")
Text("unset")
} else {
Text("Pin \($0)")

View file

@ -65,7 +65,7 @@ struct ExternalNotificationConfig: View {
Picker("Output pin GPIO", selection: $output) {
ForEach(0..<40) {
if $0 == 0 {
Text("Unset")
Text("unset")
} else {
Text("Pin \($0)")
}
@ -110,7 +110,7 @@ struct ExternalNotificationConfig: View {
Picker("Output pin buzzer GPIO ", selection: $outputBuzzer) {
ForEach(0..<40) {
if $0 == 0 {
Text("Unset")
Text("unset")
} else {
Text("Pin \($0)")
}
@ -120,7 +120,7 @@ struct ExternalNotificationConfig: View {
Picker("Output pin vibra GPIO", selection: $outputVibra) {
ForEach(0..<40) {
if $0 == 0 {
Text("Unset")
Text("unset")
} else {
Text("Pin \($0)")
}

View file

@ -74,13 +74,9 @@ struct SerialConfig: View {
Picker("Receive data (rxd) GPIO pin", selection: $rxd) {
ForEach(0..<40) {
if $0 == 0 {
Text("Unset")
Text("unset")
} else {
Text("Pin \($0)")
}
}
@ -89,13 +85,9 @@ struct SerialConfig: View {
Picker("Transmit data (txd) GPIO pin", selection: $txd) {
ForEach(0..<40) {
if $0 == 0 {
Text("Unset")
Text("unset")
} else {
Text("Pin \($0)")
}
}