Disable placeholder channel link

This commit is contained in:
Arkadiusz Fal
2022-04-16 19:44:07 +02:00
parent 8d36f57271
commit db5765a84b
2 changed files with 7 additions and 4 deletions

View File

@@ -74,6 +74,10 @@ final class NavigationModel: ObservableObject {
navigationStyle: NavigationStyle,
delay: Bool = true
) {
guard channel.id != Video.fixtureChannelID else {
return
}
let recent = RecentItem(from: channel)
#if os(macOS)
Windows.main.open()