update lots of reader fixes

This commit is contained in:
2026-07-23 00:15:21 -07:00
parent 88aaab2e00
commit c6b95e23c7
10 changed files with 510 additions and 150 deletions
+13 -2
View File
@@ -126,11 +126,20 @@
function syncNowTickerState() {
if (config.shouldPollNow?.() === false) {
stopNowTicker();
config.homeUi?.clearNowSkyBackground?.();
return;
}
if (!nowInterval && referenceData && currentGeo) {
startNowTicker();
return;
}
if (nowInterval && referenceData && currentGeo) {
const now = new Date();
config.homeUi?.syncNowPanelTheme?.(now);
void config.services.updateNowPanel?.(referenceData, currentGeo, config.nowElements, currentTimeFormat);
config.calendarVisualsUi?.applyDynamicNowIndicatorVisual?.(now);
}
}
@@ -144,8 +153,10 @@
try {
const tarotAccessEnabled = config.hasTarotAccess?.() === true;
currentGeo = parseGeoInput();
config.homeUi?.syncNowPanelTheme?.(new Date());
config.homeUi?.syncNowSkyBackground?.(currentGeo);
if (config.shouldPollNow?.()) {
config.homeUi?.syncNowPanelTheme?.(new Date());
config.homeUi?.syncNowSkyBackground?.(currentGeo);
}
if (!referenceData || !magickDataset) {
setStatus(tarotAccessEnabled