mirror of
https://github.com/yattee/yattee.git
synced 2024-12-13 22:00:31 +05:30
Fix playlists in favorites
This commit is contained in:
parent
d02bb23e57
commit
115f9fea67
@ -106,6 +106,8 @@ struct FavoriteItemView: View {
|
||||
return navigationStyle == .tab
|
||||
case .channelPlaylist:
|
||||
return navigationStyle == .tab
|
||||
case .playlist:
|
||||
return navigationStyle == .tab
|
||||
case .subscriptions:
|
||||
return navigationStyle == .tab
|
||||
case .popular:
|
||||
@ -122,6 +124,8 @@ struct FavoriteItemView: View {
|
||||
ChannelVideosView(channel: .init(id: id, name: name))
|
||||
case let .channelPlaylist(_, id, title):
|
||||
ChannelPlaylistView(playlist: .init(id: id, title: title))
|
||||
case let .playlist(id):
|
||||
ChannelPlaylistView(playlist: .init(id: id, title: label))
|
||||
case .subscriptions:
|
||||
SubscriptionsView()
|
||||
case .popular:
|
||||
|
Loading…
Reference in New Issue
Block a user