Fix opening channels and playlists

This commit is contained in:
Arkadiusz Fal
2023-05-21 14:01:33 +02:00
parent 4c5ef920b4
commit 97af5a6e0c
3 changed files with 5 additions and 5 deletions

View File

@@ -85,7 +85,6 @@ struct ChannelPlaylistView: View {
}
}
#endif
#if os(macOS)
.toolbar {
ToolbarItem(placement: .cancellationAction) {
if showCloseButton {
@@ -97,7 +96,9 @@ struct ChannelPlaylistView: View {
.buttonStyle(.plain)
}
}
}
#if os(macOS)
.toolbar {
ToolbarItem(placement: playlistButtonsPlacement) {
HStack {
ListingStyleButtons(listingStyle: $channelPlaylistListingStyle)