mirror of
https://github.com/yattee/yattee.git
synced 2024-12-14 22:30: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()
|
||||
#if os(macOS)
|
||||
.frame(maxWidth: 160)
|
||||
.frame(maxWidth: 300)
|
||||
#endif
|
||||
#else
|
||||
Text(player.stream?.description ?? "")
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user