updated the calendar and settings pages, added a new calendar page, and made some minor styling changes to the app.
This commit is contained in:
@@ -133,7 +133,9 @@ const DEFAULT_SETTINGS = {
|
||||
longitude: -0.1278,
|
||||
timeFormat: "minutes",
|
||||
birthDate: "",
|
||||
tarotDeck: DEFAULT_TAROT_DECK
|
||||
tarotDeck: DEFAULT_TAROT_DECK,
|
||||
stellariumBackgroundEnabled: false,
|
||||
hasExplicitLocation: false
|
||||
};
|
||||
|
||||
const PLANET_CALENDAR_STYLES = {
|
||||
@@ -556,7 +558,7 @@ settingsUi.init?.({
|
||||
appRuntime.applySettings?.(settings);
|
||||
currentSettings = settings;
|
||||
},
|
||||
onSyncSkyBackground: (geo, force) => homeUi.syncNowSkyBackground?.(geo, force),
|
||||
onSyncSkyBackground: (geo, options) => homeUi.syncNowSkyBackground?.(geo, options),
|
||||
onStatus: (text) => setStatus(text),
|
||||
onConnectionSaved: async () => ensureConnectedApp(),
|
||||
getActiveSection: () => sectionStateUi.getActiveSection?.() || "home",
|
||||
@@ -579,7 +581,8 @@ calendarVisualsUi.init?.({
|
||||
homeUi.init?.({
|
||||
nowSkyLayerEl,
|
||||
nowPanelEl,
|
||||
getCurrentGeo: () => appRuntime.getCurrentGeo?.() || null
|
||||
getCurrentGeo: () => appRuntime.getCurrentGeo?.() || null,
|
||||
getCurrentSettings: () => appRuntime.getCurrentSettings?.() || currentSettings
|
||||
});
|
||||
|
||||
if (nowOverlayToggleEl && nowPanelEl) {
|
||||
|
||||
Reference in New Issue
Block a user