1786306467

This commit is contained in:
2026-08-09 22:14:27 +02:00
parent c36393efca
commit 9570cc0f24

View File

@@ -105,11 +105,7 @@ pub fn apply_calendars(app: &Weak<AppWindow>, entities: Vec<CalendarEvent>) {
let entities: Vec<CalendarEventData> = entities.iter().map(Into::into).collect::<Vec<_>>(); let entities: Vec<CalendarEventData> = entities.iter().map(Into::into).collect::<Vec<_>>();
if let Some(event) = &entities.first() { if let Some(event) = &entities.first() {
app.set_next_event_date(slint::format!( app.set_next_event_date(slint::format!("NEXT / {}", event.date.to_uppercase(),));
"NEXT / {} / {}",
event.date.to_uppercase(),
event.calendar.to_uppercase()
));
app.set_next_event_time(event.time.clone()); app.set_next_event_time(event.time.clone());
app.set_next_event_summary(event.summary.clone()); app.set_next_event_summary(event.summary.clone());
} else { } else {