Remove hidden-events footer from epaper frame
This commit is contained in:
@@ -1149,7 +1149,7 @@ display:
|
||||
it.line(10, 55, 355, 55);
|
||||
it.line(365, 10, 365, 352);
|
||||
|
||||
DynamicJsonDocument calendar_doc(3072);
|
||||
JsonDocument calendar_doc;
|
||||
const DeserializationError calendar_error = deserializeJson(calendar_doc, id(calendar_entries).state.c_str());
|
||||
JsonArray calendar_days = calendar_doc.as<JsonArray>();
|
||||
int agenda_y = 72;
|
||||
@@ -1208,9 +1208,7 @@ display:
|
||||
if (!has_events && !calendar_error && !calendar_days.isNull() && calendar_days.size() > 0) {
|
||||
it.print(18, 72, id(sensor_unit), TextAlign::TOP_LEFT, "Keine Termine im sichtbaren Bereich.");
|
||||
}
|
||||
if (has_hidden_events) {
|
||||
it.print(72, 340, id(footer_font), TextAlign::TOP_LEFT, "Weitere Termine vorhanden ...");
|
||||
}
|
||||
|
||||
|
||||
/* RIGHT TOP: month view, Monday-first with ISO week numbers */
|
||||
char month_title[24];
|
||||
|
||||
Reference in New Issue
Block a user