Merge pull request #5650 from fufesou/fix/capitalization_style

fix, some case-style mismatch issues in the same option group
This commit is contained in:
RustDesk 2023-09-10 23:04:00 +08:00 committed by GitHub
commit c6d617f190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -1407,13 +1407,11 @@ class _KeyboardMenu extends StatelessWidget {
return futureBuilder(future: () async {
final v =
await bind.sessionGetReverseMouseWheel(sessionId: ffi.sessionId);
debugPrint('REMOVE ME ======================== $v');
if (v != null && v != '') {
return v;
}
return bind.mainGetUserDefaultOption(key: 'reverse_mouse_wheel');
}(), hasData: (data) {
debugPrint('REMOVE ME ======================== data $data');
final enabled = !ffi.ffiModel.viewOnly;
onChanged(bool? value) async {
if (value == null) return;

View File

@ -78,5 +78,9 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("push_ab_failed_tip", "Failed to sync address book to server"),
("synced_peer_readded_tip", "The devices that were present in the recent sessions will be synchronized back to the address book."),
("View Mode", "View mode"),
("Block user input", "Block User Input"),
("Start session recording", "Start Session Recording"),
("Stop session recording", "Stop Session Recording"),
("Enable remote configuration modification", "Enable Remote Configuration Modification"),
].iter().cloned().collect();
}