mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 03:28:03 +00:00
virtual_display_privacy_mode, switch privacy mode directly
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -1073,9 +1073,7 @@ class _DisplayMenuState extends State<_DisplayMenu> {
|
||||
menuChildren: privacyModeList
|
||||
.map((e) => Obx(() => CkbMenuButton(
|
||||
value: e.value,
|
||||
onChanged: (privacyModeState.isEmpty || e.value)
|
||||
? e.onChanged
|
||||
: null,
|
||||
onChanged: e.onChanged,
|
||||
child: e.child,
|
||||
ffi: ffi)))
|
||||
.toList()),
|
||||
|
||||
Reference in New Issue
Block a user