feat: Add helpful hint text for server endpoint field

- Clarify HTTP/HTTPS support
- Note HTTP restriction to local networks
- Mention optional port configuration
- Indicate trailing slash not required
This commit is contained in:
Ilyas Hallak 2025-10-19 19:17:30 +02:00
parent 6385d10317
commit 819eb4fc56

View File

@ -43,6 +43,11 @@ struct SettingsServerView: View {
.onChange(of: viewModel.endpoint) {
viewModel.clearMessages()
}
Text("HTTP/HTTPS supported. HTTP only for local networks. Port optional. No trailing slash needed.")
.font(.caption)
.foregroundColor(.secondary)
.fixedSize(horizontal: false, vertical: true)
} else {
HStack {
Image(systemName: "server.rack")