From 3d057809246f35b0c5bd1ee26bdd4b2a4d99dba5 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sat, 21 May 2022 21:30:39 +0200 Subject: [PATCH] Improve stream control on macOS --- Shared/Player/Controls/PlayerControls.swift | 2 +- Shared/Player/StreamControl.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Shared/Player/Controls/PlayerControls.swift b/Shared/Player/Controls/PlayerControls.swift index cf21b373..8a369e40 100644 --- a/Shared/Player/Controls/PlayerControls.swift +++ b/Shared/Player/Controls/PlayerControls.swift @@ -117,7 +117,7 @@ struct PlayerControls: View { StreamControl() #if os(macOS) - .frame(maxWidth: 160) + .frame(maxWidth: 300) #endif #else Text(player.stream?.description ?? "") diff --git a/Shared/Player/StreamControl.swift b/Shared/Player/StreamControl.swift index 70e08782..f83df616 100644 --- a/Shared/Player/StreamControl.swift +++ b/Shared/Player/StreamControl.swift @@ -15,7 +15,7 @@ struct StreamControl: View { Section(header: Text(instance.longDescription)) { ForEach(kinds, id: \.self) { key in ForEach(instanceStreams[key] ?? []) { stream in - Text(stream.quality).tag(Stream?.some(stream)) + Text(stream.description).tag(Stream?.some(stream)) } if kinds.count > 1 {