Group "MQTT TLS" in a single sticker (#23348)

This commit is contained in:
s-hadinger 2025-04-27 22:31:42 +02:00 committed by GitHub
parent 402c9e8e8d
commit 2c2f7f1149
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2120,9 +2120,10 @@ bool Xdrv02(uint32_t function)
case FUNC_WEB_STATUS:
// MqttConnectCount(), mqtt_tls
if (MqttIsConnected()) {
WSContentStatusSticker(PSTR("MQTT"), -1);
if (MqttTLSEnabled()) {
WSContentStatusSticker(PSTR("TLS"), -1);
WSContentStatusSticker(PSTR("MQTT TLS"), -1);
} else {
WSContentStatusSticker(PSTR("MQTT"), -1);
}
}
break;