mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 05:53:41 +00:00
Fix opening file stream label
This commit is contained in:
parent
9be29f581b
commit
4cb9e24796
@ -22,7 +22,15 @@ struct OpeningStream: View {
|
|||||||
return "Opening audio stream...".localized()
|
return "Opening audio stream...".localized()
|
||||||
}
|
}
|
||||||
|
|
||||||
return String(format: "Opening %@ stream...".localized(), player.streamSelection?.shortQuality ?? "")
|
if let selection = player.streamSelection {
|
||||||
|
if selection.isLocal {
|
||||||
|
return "Opening file..."
|
||||||
|
} else {
|
||||||
|
return String(format: "Opening %@ stream...".localized(), selection.shortQuality)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
var state: String? {
|
var state: String? {
|
||||||
|
Loading…
Reference in New Issue
Block a user