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

@ -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)")
}
}