mirror of
https://github.com/yattee/yattee.git
synced 2026-05-12 10:25:02 +00:00
Push video info navigation from media source browser on tvOS
handlePendingNavigation guarded the .mediaSource append with #if os(iOS) || os(macOS), so navigating to video info from a media source on tvOS was silently dropped. The NavigationStack binding is already unconditional, so the append is safe on all platforms.
This commit is contained in:
@@ -901,9 +901,7 @@ extension UnifiedTabView {
|
||||
case .playlist(let id, _):
|
||||
playlistPaths[id, default: NavigationPath()].append(destination)
|
||||
case .mediaSource(let id, _, _):
|
||||
#if os(iOS) || os(macOS)
|
||||
mediaSourcePaths[id, default: NavigationPath()].append(destination)
|
||||
#endif
|
||||
case .instance(let id, _, _):
|
||||
instancePaths[id, default: NavigationPath()].append(destination)
|
||||
case .bookmarks:
|
||||
|
||||
Reference in New Issue
Block a user