Hide username, password and tls toggle for public server

This commit is contained in:
Garth Vander Houwen 2025-01-15 16:28:00 -08:00
parent 53ec91a771
commit 4cb2125752

View file

@ -174,7 +174,7 @@ struct MQTTConfig: View {
.keyboardType(.default)
}
.autocorrectionDisabled()
if !proxyToClientEnabled && address != "mqtt.meshtastic.org" {
if address != "mqtt.meshtastic.org" {
HStack {
Label("mqtt.username", systemImage: "person.text.rectangle")
TextField("mqtt.username", text: $username)