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()
|
Spacer()
|
||||||
}
|
}
|
||||||
|
.contentShape(Rectangle())
|
||||||
}
|
}
|
||||||
.zoomTransitionSource(id: playlist.id)
|
.zoomTransitionSource(id: playlist.id)
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
|
|||||||
@@ -1013,6 +1013,7 @@ struct ChannelView: View {
|
|||||||
ForEach(playlists) { playlist in
|
ForEach(playlists) { playlist in
|
||||||
NavigationLink(value: NavigationDestination.playlist(.remote(playlist.id, instance: nil, title: playlist.title))) {
|
NavigationLink(value: NavigationDestination.playlist(.remote(playlist.id, instance: nil, title: playlist.title))) {
|
||||||
PlaylistCardView(playlist: playlist, isCompact: gridConfig.isCompactCards)
|
PlaylistCardView(playlist: playlist, isCompact: gridConfig.isCompactCards)
|
||||||
|
.contentShape(Rectangle())
|
||||||
}
|
}
|
||||||
.zoomTransitionSource(id: playlist.id)
|
.zoomTransitionSource(id: playlist.id)
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
@@ -1364,6 +1365,7 @@ struct ChannelView: View {
|
|||||||
case .playlist(let playlist):
|
case .playlist(let playlist):
|
||||||
NavigationLink(value: NavigationDestination.playlist(.remote(playlist.id, instance: nil, title: playlist.title))) {
|
NavigationLink(value: NavigationDestination.playlist(.remote(playlist.id, instance: nil, title: playlist.title))) {
|
||||||
PlaylistCardView(playlist: playlist, isCompact: gridConfig.isCompactCards)
|
PlaylistCardView(playlist: playlist, isCompact: gridConfig.isCompactCards)
|
||||||
|
.contentShape(Rectangle())
|
||||||
}
|
}
|
||||||
.zoomTransitionSource(id: playlist.id)
|
.zoomTransitionSource(id: playlist.id)
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
|
|||||||
Reference in New Issue
Block a user