Fix ring health persistence and page acknowledgements

This commit is contained in:
James Babcock committed 2026-09-17 20:23:15 -07:00
1 parent 22c851a6b9
commit c595cb4b6e
10 files changed
+472 -92

No files matched your search

-12
View File
@@ -13,7 +13,6 @@ installNativeUserAgent()
registerShareIntentHandler()
registerPhoneRotation()
import { resyncSystemAppearance } from './native/system-appearance'
import { startLiveHealthSync, startAlignedRingPull } from './health/health-live'
installNativeUserAgent()
@@ -30,17 +29,6 @@ startLiveHealthSync()
// so a ring that stays connected is never read.
startAlignedRingPull()
// Live system dark/light switches while the app is running were confirmed
// (Chris, both directions, 2026-09-02) to leave the Ghost companion's Terminal
// and Doc panes white-on-white and Rich View visually dark-locked -- while a
// COLD launch in either theme renders correctly. That proves the app.css
// .ns-dark rules themselves are right and the LIVE-UPDATE signal is the gap,
// not any one pane's styling -- see system-appearance.ts for the actual fix
// and why it resyncs from two triggers instead of trusting the framework's
// own automatic recolor alone.
Application.on(Application.systemAppearanceChangedEvent, resyncSystemAppearance)
Application.on(Application.resumeEvent, resyncSystemAppearance)
Application.run({ moduleName: 'app-root' })
// Don't place any code after the application has been started