mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-30 16:25:57 +00:00
ios: fix typo, add information to settings (#958)
This commit is contained in:
committed by
GitHub
parent
2cffe91e0b
commit
0a048eb286
@@ -14,8 +14,16 @@ struct CallSettings: View {
|
||||
var body: some View {
|
||||
VStack {
|
||||
List {
|
||||
Section("Settings") {
|
||||
Section {
|
||||
Toggle("Connect via relay", isOn: $webrtcPolicyRelay)
|
||||
} header: {
|
||||
Text("Settings")
|
||||
} footer: {
|
||||
if webrtcPolicyRelay {
|
||||
Text("Relay server protects your IP address, but it can observe the duration of the call.")
|
||||
} else {
|
||||
Text("Relay server is only used if necessary. Another party can observe your IP address.")
|
||||
}
|
||||
}
|
||||
|
||||
Section("Limitations") {
|
||||
|
||||
@@ -32,7 +32,7 @@ struct NetworkAndServers: View {
|
||||
var body: some View {
|
||||
VStack {
|
||||
List {
|
||||
Section("") {
|
||||
Section {
|
||||
NavigationLink {
|
||||
SMPServers()
|
||||
.navigationTitle("Your SMP servers")
|
||||
@@ -52,6 +52,10 @@ struct NetworkAndServers: View {
|
||||
settingsRow("app.connected.to.app.below.fill") { Text("Advanced network settings") }
|
||||
}
|
||||
}
|
||||
} header: {
|
||||
Text("")
|
||||
} footer: {
|
||||
Text("Using .onion hosts requires compatible VPN provider.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -561,7 +561,7 @@ public enum OnionHosts: String, Identifiable {
|
||||
switch self {
|
||||
case .no: return "No"
|
||||
case .prefer: return "When available"
|
||||
case .require: return "Requred"
|
||||
case .require: return "Required"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user