mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Favorites improvements
This commit is contained in:
@@ -87,7 +87,7 @@ struct ChannelPlaylistView: View {
|
||||
ShareButton(contentItem: contentItem)
|
||||
|
||||
if let playlist = presentedPlaylist {
|
||||
FavoriteButton(item: FavoriteItem(section: .channelPlaylist(playlist.id, playlist.title)))
|
||||
FavoriteButton(item: FavoriteItem(section: .channelPlaylist(accounts.app.appType.rawValue, playlist.id, playlist.title)))
|
||||
}
|
||||
|
||||
playButton
|
||||
|
@@ -231,7 +231,7 @@ struct ChannelVideosView: View {
|
||||
contentTypePicker
|
||||
Section {
|
||||
subscriptionToggleButton
|
||||
FavoriteButton(item: FavoriteItem(section: .channel(channel.id, channel.name)))
|
||||
FavoriteButton(item: FavoriteItem(section: .channel(accounts.app.appType.rawValue, channel.id, channel.name)))
|
||||
}
|
||||
}
|
||||
} label: {
|
||||
|
@@ -66,7 +66,7 @@ struct PlaylistVideosView: View {
|
||||
.toolbar {
|
||||
ToolbarItem(placement: playlistButtonsPlacement) {
|
||||
HStack {
|
||||
FavoriteButton(item: FavoriteItem(section: .channelPlaylist(playlist.id, playlist.title)))
|
||||
FavoriteButton(item: FavoriteItem(section: .channelPlaylist(accounts.app.appType.rawValue, playlist.id, playlist.title)))
|
||||
|
||||
Button {
|
||||
player.play(videos)
|
||||
|
Reference in New Issue
Block a user