fix, some capitalization style mismatch in the same option group
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
15c72fe7d3
commit
1a6ef23ee7
@ -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;
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user