mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
LocalElevationThresholds was provided inside MainScreen, but RadarDestination is a root-level sibling entry in NavRoot's NavDisplay, so the radar page's top bar fell outside the CompositionLocal scope and always used the default 15/45 thresholds instead of the user-configured ones. Hoist the CompositionLocalProvider to NavRoot so both the tab content and the root-level RadarDestination read the user's low/high elevation thresholds, and drop the now-redundant provider from MainScreen.