mirror of
https://github.com/skoelle/m5stack-dashboard.git
synced 2026-09-18 00:50:24 +00:00
encoding fix
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "weather_detail_screen.h"
|
||||
#include "../../include/text_utils.h"
|
||||
#include <M5Stack.h>
|
||||
#include "../../include/theme.h"
|
||||
#include "../icons/icons.h"
|
||||
@@ -48,7 +49,7 @@ void renderWeatherDetailScreen(bool forceRefresh) {
|
||||
M5.Lcd.printf("%d C", fe.temperature);
|
||||
|
||||
M5.Lcd.setCursor(140, y);
|
||||
M5.Lcd.print(fe.description.substring(0, 12));
|
||||
M5.Lcd.print(sanitizeGermanText(fe.description.substring(0, 12)));
|
||||
|
||||
if (fe.precipitationType == "rain" && fe.precipitationProbability > 0.0f) {
|
||||
M5.Lcd.setTextColor(Theme::ACCENT_RAIN, Theme::BG);
|
||||
|
||||
Reference in New Issue
Block a user