fix, some capitalization style mismatch in the same option group

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-09-10 22:59:45 +08:00
parent 15c72fe7d3
commit 1a6ef23ee7
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();
}