fix: show stale marker on the empty board

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
rickzkmandClaude Sonnet 5.5 committed 2026-10-07 00:42:35 +02:00
1 parent baaaeff917
commit 410eb82a02
2 files changed
+8

No files matched your search

+2
View File
@@ -68,6 +68,8 @@ def render_board(upcoming: list[Upcoming], now: datetime, fonts: dict, stale: bo
if not upcoming:
d.text((W // 2, H // 2), "Žádné odjezdy", font=fonts["hero_stop"], fill=TEXT_DIM, anchor="mm")
if stale:
d.text((16, H - 12), "jízdní řád zastaralý", font=fonts["hero_small"], fill=ACCENT, anchor="lm")
return img
first = upcoming[0]