update lots of reader fixes
This commit is contained in:
+13
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user