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 {
|
return futureBuilder(future: () async {
|
||||||
final v =
|
final v =
|
||||||
await bind.sessionGetReverseMouseWheel(sessionId: ffi.sessionId);
|
await bind.sessionGetReverseMouseWheel(sessionId: ffi.sessionId);
|
||||||
debugPrint('REMOVE ME ======================== $v');
|
|
||||||
if (v != null && v != '') {
|
if (v != null && v != '') {
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
return bind.mainGetUserDefaultOption(key: 'reverse_mouse_wheel');
|
return bind.mainGetUserDefaultOption(key: 'reverse_mouse_wheel');
|
||||||
}(), hasData: (data) {
|
}(), hasData: (data) {
|
||||||
debugPrint('REMOVE ME ======================== data $data');
|
|
||||||
final enabled = !ffi.ffiModel.viewOnly;
|
final enabled = !ffi.ffiModel.viewOnly;
|
||||||
onChanged(bool? value) async {
|
onChanged(bool? value) async {
|
||||||
if (value == null) return;
|
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"),
|
("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."),
|
("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"),
|
("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();
|
].iter().cloned().collect();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user