1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-15 14:50:32 +05:30

Improve stream control on macOS

This commit is contained in:
Arkadiusz Fal 2022-05-21 21:30:39 +02:00
parent 0888b0e7ff
commit 3d05780924
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 {