1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-07 05:55:37 -05:00

Fix light mode toggle for matugen themes

This commit is contained in:
bbedward
2025-07-14 14:43:12 -04:00
parent 31f1360d1b
commit 0a4453ab3b
3 changed files with 30 additions and 19 deletions

View File

@@ -210,16 +210,10 @@ Singleton {
root.lastError = ""
console.log("CalendarService: Loaded events for", Object.keys(newEventsByDate).length, "days")
// Debug: log parsed events
for (let dateKey in newEventsByDate) {
console.log(" " + dateKey + ":", newEventsByDate[dateKey].map(e => e.title).join(", "))
}
} catch (error) {
root.lastError = "Failed to parse events JSON: " + error.toString()
console.error("CalendarService:", root.lastError)
console.error("CalendarService: Raw output was:", eventsProcess.rawOutput)
root.eventsByDate = {}
}