From 55a588b580106ee574dfcd4b255586d6e145d25d Mon Sep 17 00:00:00 2001 From: Stefan Koelle Date: Sun, 2 Aug 2026 20:49:05 +0200 Subject: [PATCH] calender UI change --- src/ui/home_screen.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/home_screen.cpp b/src/ui/home_screen.cpp index 675ba43..c20d80d 100644 --- a/src/ui/home_screen.cpp +++ b/src/ui/home_screen.cpp @@ -96,9 +96,9 @@ String formatCalendarPreview(const CalendarData &c) { int shown = 0; for (const auto &ev : c.events) { if (shown >= 2) break; - if (shown > 0) s += "\n"; - s += sanitizeGermanText(ev.summary.substring(0, 22)); - s += "\n" + DateUtils::formatShortDE(ev.startAt, ev.allDay); + if (shown > 0) s += "\n\n"; + s += DateUtils::formatShortDE(ev.startAt, ev.allDay); + s += "\n" + sanitizeGermanText(ev.summary.substring(0, 22)); ++shown; } if (s.length() == 0) s = "Keine Termine";