mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 10:25:02 +00:00
tvOS's sidebarAdaptable TabView leaves the previously-pushed detail view visible after the user picks another sidebar item, until they manually press Menu. Broadcast a notification on tab change so any pushed TVSidebarDetailContainer dismisses itself, and reset each tab's NavigationPath. Also drop a redundant inner NavigationStack in the tvOS SettingsView so subpages register on the tab's outer stack.