mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-28 08:42:43 +08:00
[fix] make mobile landscape locking opt-in
This commit is contained in:
@@ -840,9 +840,11 @@ private struct ServerSettingsView: View {
|
||||
.pickerStyle(.segmented)
|
||||
}
|
||||
Section {
|
||||
Toggle("连接后自动横屏", isOn: $session.autoLandscape)
|
||||
Toggle("连接建立后锁定横屏", isOn: $session.autoLandscape)
|
||||
} header: {
|
||||
Text("屏幕方向")
|
||||
} footer: {
|
||||
Text("默认关闭。开启后,iPhone 连接时进入并保持横屏;关闭时跟随设备方向。iPad 不受影响。")
|
||||
}
|
||||
Section {
|
||||
DisclosureGroup(isExpanded: $serverConfigurationExpanded) {
|
||||
|
||||
Reference in New Issue
Block a user