Improve stream control on macOS

This commit is contained in:
Arkadiusz Fal 2022-05-21 21:30:39 +02:00
parent 0b274f92bd
commit c5852601e4
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ struct PlayerControls: View {
StreamControl() StreamControl()
#if os(macOS) #if os(macOS)
.frame(maxWidth: 160) .frame(maxWidth: 300)
#endif #endif
#else #else
Text(player.stream?.description ?? "") Text(player.stream?.description ?? "")

View File

@ -15,7 +15,7 @@ struct StreamControl: View {
Section(header: Text(instance.longDescription)) { Section(header: Text(instance.longDescription)) {
ForEach(kinds, id: \.self) { key in ForEach(kinds, id: \.self) { key in
ForEach(instanceStreams[key] ?? []) { stream in ForEach(instanceStreams[key] ?? []) { stream in
Text(stream.quality).tag(Stream?.some(stream)) Text(stream.description).tag(Stream?.some(stream))
} }
if kinds.count > 1 { if kinds.count > 1 {