Use language files for MQTT stickers (#23355)

This commit is contained in:
SteWers 2025-04-30 08:39:59 +02:00 committed by GitHub
parent 2e251468f9
commit 060f47678d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2120,9 +2120,9 @@ bool Xdrv02(uint32_t function)
case FUNC_WEB_STATUS_RIGHT:
if (MqttIsConnected()) {
if (MqttTLSEnabled()) {
WSContentStatusSticker(PSTR("MQTT TLS"));
WSContentStatusSticker(PSTR(D_MQTT_TLS_ENABLE));
} else {
WSContentStatusSticker(PSTR("MQTT"));
WSContentStatusSticker(PSTR(D_MQTT));
}
}
break;