mirror of
https://github.com/yattee/yattee.git
synced 2025-10-10 17:38:15 +00:00
Fix playlists in favorites
This commit is contained in:
@@ -106,6 +106,8 @@ struct FavoriteItemView: View {
|
|||||||
return navigationStyle == .tab
|
return navigationStyle == .tab
|
||||||
case .channelPlaylist:
|
case .channelPlaylist:
|
||||||
return navigationStyle == .tab
|
return navigationStyle == .tab
|
||||||
|
case .playlist:
|
||||||
|
return navigationStyle == .tab
|
||||||
case .subscriptions:
|
case .subscriptions:
|
||||||
return navigationStyle == .tab
|
return navigationStyle == .tab
|
||||||
case .popular:
|
case .popular:
|
||||||
@@ -122,6 +124,8 @@ struct FavoriteItemView: View {
|
|||||||
ChannelVideosView(channel: .init(id: id, name: name))
|
ChannelVideosView(channel: .init(id: id, name: name))
|
||||||
case let .channelPlaylist(_, id, title):
|
case let .channelPlaylist(_, id, title):
|
||||||
ChannelPlaylistView(playlist: .init(id: id, title: title))
|
ChannelPlaylistView(playlist: .init(id: id, title: title))
|
||||||
|
case let .playlist(id):
|
||||||
|
ChannelPlaylistView(playlist: .init(id: id, title: label))
|
||||||
case .subscriptions:
|
case .subscriptions:
|
||||||
SubscriptionsView()
|
SubscriptionsView()
|
||||||
case .popular:
|
case .popular:
|
||||||
|
Reference in New Issue
Block a user