Some very minor UI changes.

This commit is contained in:
Jeremy Rand 2021-07-16 23:20:52 -04:00
parent 65ffb20ac7
commit b7c020be62
2 changed files with 9 additions and 5 deletions

View File

@ -31,16 +31,20 @@ struct ContentView: View {
validate(destination: ipAddress)
}
.padding()
Label(textHeard, systemImage:"")
.labelStyle(TitleOnlyLabelStyle())
.padding()
Button("Listen") {
listen()
}
.padding()
.background(listening ? Color.red : Color.white)
.foregroundColor(listening ? .black : .blue)
.disabled(listenEnabled == false)
.padding()
.background(listening ? Color.red : Color.white)
.foregroundColor(listening ? .black : .blue)
.disabled(listenEnabled == false)
.frame(maxWidth: .infinity)
.buttonStyle(PlainButtonStyle())
}
}

View File

@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>36</string>
<string>39</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSSpeechRecognitionUsageDescription</key>