diff --git a/ListenerApp/ContentView.swift b/ListenerApp/ContentView.swift index 49086bd..83f3a8b 100644 --- a/ListenerApp/ContentView.swift +++ b/ListenerApp/ContentView.swift @@ -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()) } } diff --git a/ListenerApp/Info.plist b/ListenerApp/Info.plist index 51f2e1a..220e1b2 100644 --- a/ListenerApp/Info.plist +++ b/ListenerApp/Info.plist @@ -17,7 +17,7 @@ CFBundleShortVersionString 1.0 CFBundleVersion - 36 + 39 LSRequiresIPhoneOS NSSpeechRecognitionUsageDescription