mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02:00
mobile/desktop use same 'other default settings' (#6652)
1. mobile add 'reverse mouse wheel' default setting 2. change related menu position Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
c061eddf2a
commit
03c8d94024
7 changed files with 91 additions and 93 deletions
|
@ -789,23 +789,14 @@ class __DisplayPageState extends State<_DisplayPage> {
|
|||
),
|
||||
SettingsSection(
|
||||
title: Text(translate('Other Default Options')),
|
||||
tiles: [
|
||||
otherRow('Show remote cursor', 'show_remote_cursor'),
|
||||
otherRow('Show quality monitor', 'show_quality_monitor'),
|
||||
otherRow('Mute', 'disable_audio'),
|
||||
otherRow('Disable clipboard', 'disable_clipboard'),
|
||||
otherRow('Lock after session end', 'lock_after_session_end'),
|
||||
otherRow('Privacy mode', 'privacy_mode'),
|
||||
otherRow('Touch mode', 'touch-mode'),
|
||||
otherRow('True color (4:4:4)', 'i444'),
|
||||
otherRow('swap-left-right-mouse', 'swap-left-right-mouse'),
|
||||
],
|
||||
tiles:
|
||||
otherDefaultSettings().map((e) => otherRow(e.$1, e.$2)).toList(),
|
||||
),
|
||||
]),
|
||||
);
|
||||
}
|
||||
|
||||
otherRow(String label, String key) {
|
||||
SettingsTile otherRow(String label, String key) {
|
||||
final value = bind.mainGetUserDefaultOption(key: key) == 'Y';
|
||||
return SettingsTile.switchTile(
|
||||
initialValue: value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue