[ui] simplify mobile settings descriptions

This commit is contained in:
dijunkun
2026-10-04 22:06:51 +08:00
parent 2f1c16c781
commit 9489ede03c
3 changed files with 4 additions and 21 deletions
@@ -797,10 +797,6 @@ private struct ServerSettingsView: View {
}
}
.pickerStyle(.segmented)
Text(session.mouseControlMode.detail)
.font(.footnote)
.foregroundStyle(.secondary)
}
Section("画面偏好") {
Picker("偏好模式", selection: $session.videoAdaptationPolicy) {
@@ -809,11 +805,6 @@ private struct ServerSettingsView: View {
}
}
.pickerStyle(.segmented)
Text(session.videoAdaptationPolicy.detail)
.font(.footnote)
.foregroundStyle(.secondary)
}
Section {
DisclosureGroup(isExpanded: $serverConfigurationExpanded) {
@@ -838,11 +829,6 @@ private struct ServerSettingsView: View {
.accessibilityLabel("服务器端口")
}
}
if usesCustomServer {
Text("结束编辑后生效。关闭开关可立即切回默认配置。")
.font(.footnote)
.foregroundStyle(.secondary)
}
} label: {
HStack {
Text("服务器")
@@ -118,8 +118,6 @@ struct PrivacySettingsSection: View {
}
} header: {
Text("隐私")
} footer: {
Text("画面预览默认关闭。开启后,从下一次连接起保存一张远程画面到本机,显示在最近连接中,不上传且不纳入设备备份。关闭开关会清除已有预览;连接记录和接收的文件不受影响。")
}
.alert("保存远程画面预览?", isPresented: $confirmThumbnails) {
Button("开启保存") { session.setSavesConnectionThumbnails(true) }