mirror of
https://github.com/jellyfin/Swiftfin.git
synced 2025-02-20 15:26:35 +00:00
fix some strings
This commit is contained in:
parent
62a48a86ce
commit
901a60639d
@ -14,7 +14,7 @@ struct SettingsView: View {
|
||||
@EnvironmentObject var globalData: GlobalData
|
||||
@EnvironmentObject var jsi: justSignedIn
|
||||
@State private var username: String = "";
|
||||
@State private var inNetworkStreamBitrate: Int = 40;
|
||||
@State private var inNetworkStreamBitrate: Int = 40000000;
|
||||
|
||||
func onAppear() {
|
||||
_username.wrappedValue = globalData.user?.username ?? "";
|
||||
@ -24,40 +24,40 @@ struct SettingsView: View {
|
||||
NavigationView() {
|
||||
Form() {
|
||||
Section(header: Text("Playback settings")) {
|
||||
Picker("Local playback bitrate", selection: $inNetworkStreamBitrate) {
|
||||
Picker("Default local playback bitrate", selection: $inNetworkStreamBitrate) {
|
||||
Group {
|
||||
Text("1080p - 60 Mbps").tag(60)
|
||||
Text("1080p - 40 Mbps").tag(40)
|
||||
Text("1080p - 20 Mbps").tag(20)
|
||||
Text("1080p - 15 Mbps").tag(15)
|
||||
Text("1080p - 10 Mbps").tag(10)
|
||||
Text("1080p - 60 Mbps").tag(60000000)
|
||||
Text("1080p - 40 Mbps").tag(40000000)
|
||||
Text("1080p - 20 Mbps").tag(20000000)
|
||||
Text("1080p - 15 Mbps").tag(15000000)
|
||||
Text("1080p - 10 Mbps").tag(10000000)
|
||||
}
|
||||
Group {
|
||||
Text("720p - 8 Mbps").tag(8)
|
||||
Text("720p - 6 Mbps").tag(6)
|
||||
Text("720p - 4 Mbps").tag(4)
|
||||
Text("720p - 8 Mbps").tag(80000000)
|
||||
Text("720p - 6 Mbps").tag(60000000)
|
||||
Text("720p - 4 Mbps").tag(40000000)
|
||||
}
|
||||
Text("480p - 3 Mbps").tag(3)
|
||||
Text("480p - 1.5 Mbps").tag(2)
|
||||
Text("480p - 740 Kbps").tag(1)
|
||||
Text("480p - 3 Mbps").tag(30000000)
|
||||
Text("480p - 1.5 Mbps").tag(20000000)
|
||||
Text("480p - 740 Kbps").tag(10000000)
|
||||
}
|
||||
|
||||
Picker("Remote playback bitrate", selection: $inNetworkStreamBitrate) {
|
||||
Picker("Default remote playback bitrate", selection: $inNetworkStreamBitrate) {
|
||||
Group {
|
||||
Text("1080p - 60 Mbps").tag(60)
|
||||
Text("1080p - 40 Mbps").tag(40)
|
||||
Text("1080p - 20 Mbps").tag(20)
|
||||
Text("1080p - 15 Mbps").tag(15)
|
||||
Text("1080p - 10 Mbps").tag(10)
|
||||
Text("1080p - 60 Mbps").tag(60000000)
|
||||
Text("1080p - 40 Mbps").tag(40000000)
|
||||
Text("1080p - 20 Mbps").tag(20000000)
|
||||
Text("1080p - 15 Mbps").tag(15000000)
|
||||
Text("1080p - 10 Mbps").tag(10000000)
|
||||
}
|
||||
Group {
|
||||
Text("720p - 8 Mbps").tag(8)
|
||||
Text("720p - 6 Mbps").tag(6)
|
||||
Text("720p - 4 Mbps").tag(4)
|
||||
Text("720p - 8 Mbps").tag(80000000)
|
||||
Text("720p - 6 Mbps").tag(60000000)
|
||||
Text("720p - 4 Mbps").tag(40000000)
|
||||
}
|
||||
Text("480p - 3 Mbps").tag(3)
|
||||
Text("480p - 1.5 Mbps").tag(2)
|
||||
Text("480p - 740 Kbps").tag(1)
|
||||
Text("480p - 3 Mbps").tag(30000000)
|
||||
Text("480p - 1.5 Mbps").tag(20000000)
|
||||
Text("480p - 740 Kbps").tag(10000000)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user