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:
parent
0888b0e7ff
commit
3d05780924
@ -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 ?? "")
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user