mirror of
https://github.com/yattee/yattee.git
synced 2026-02-19 09:19:46 +00:00
Fix playlist rows in ChannelView not tappable in empty space
This commit is contained in:
@@ -88,6 +88,7 @@ struct ChannelPlaylistRow: View {
|
||||
|
||||
Spacer()
|
||||
}
|
||||
.contentShape(Rectangle())
|
||||
}
|
||||
.zoomTransitionSource(id: playlist.id)
|
||||
.buttonStyle(.plain)
|
||||
|
||||
@@ -1013,6 +1013,7 @@ struct ChannelView: View {
|
||||
ForEach(playlists) { playlist in
|
||||
NavigationLink(value: NavigationDestination.playlist(.remote(playlist.id, instance: nil, title: playlist.title))) {
|
||||
PlaylistCardView(playlist: playlist, isCompact: gridConfig.isCompactCards)
|
||||
.contentShape(Rectangle())
|
||||
}
|
||||
.zoomTransitionSource(id: playlist.id)
|
||||
.buttonStyle(.plain)
|
||||
@@ -1364,6 +1365,7 @@ struct ChannelView: View {
|
||||
case .playlist(let playlist):
|
||||
NavigationLink(value: NavigationDestination.playlist(.remote(playlist.id, instance: nil, title: playlist.title))) {
|
||||
PlaylistCardView(playlist: playlist, isCompact: gridConfig.isCompactCards)
|
||||
.contentShape(Rectangle())
|
||||
}
|
||||
.zoomTransitionSource(id: playlist.id)
|
||||
.buttonStyle(.plain)
|
||||
|
||||
Reference in New Issue
Block a user