From 638869824ce935474c6b625fa200131771a968a0 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 7 Jan 2023 14:29:49 +0100 Subject: [PATCH] Fix display when changing volume --- src/webHandlers.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/webHandlers.cpp b/src/webHandlers.cpp index 0682e14..253d7d6 100644 --- a/src/webHandlers.cpp +++ b/src/webHandlers.cpp @@ -112,8 +112,7 @@ void onChangeVolume(AsyncWebServerRequest *request) preferences.putUChar(CURRENT_VOLUME, currentVolume); audio.setVolume(currentVolume); Serial.print(currentVolume); - String s_volume = String(currentVolume); - displayText("Volume : " + s_volume); + displayStatus(); } Serial.println(); onStatus(request);