Rename to Mobile MA
This commit is contained in:
@@ -21,6 +21,15 @@ struct LoginView: View {
|
||||
var body: some View {
|
||||
NavigationStack {
|
||||
Form {
|
||||
// Subtitle
|
||||
Section {
|
||||
Text("Let us connect to your Music Assistant instance")
|
||||
.font(.subheadline)
|
||||
.foregroundStyle(.secondary)
|
||||
.listRowBackground(Color.clear)
|
||||
.listRowInsets(EdgeInsets())
|
||||
}
|
||||
|
||||
// Server URL Section
|
||||
Section {
|
||||
TextField("Server URL", text: $serverURL)
|
||||
@@ -31,7 +40,10 @@ struct LoginView: View {
|
||||
} header: {
|
||||
Text("Server")
|
||||
} footer: {
|
||||
Text("Enter your Music Assistant server URL (e.g., https://music.example.com)")
|
||||
VStack(alignment: .leading, spacing: 4) {
|
||||
Text("Enter your Music Assistant server URL (e.g., https://music.example.com)")
|
||||
Text("Using the Home Assistant add-on? The standard address is: http://homeassistant.local:8095")
|
||||
}
|
||||
}
|
||||
|
||||
// Token Section
|
||||
@@ -98,7 +110,7 @@ struct LoginView: View {
|
||||
.disabled(isLoading || !isFormValid)
|
||||
}
|
||||
}
|
||||
.navigationTitle("Music Assistant")
|
||||
.navigationTitle("Connect")
|
||||
.alert("Connection Error", isPresented: $showError) {
|
||||
Button("OK", role: .cancel) { }
|
||||
} message: {
|
||||
|
||||
Reference in New Issue
Block a user