mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 19:47:17 +00:00
do not show privacy action if peer does not support
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -1170,7 +1170,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
}
|
||||
displayMenu.add(_createSwitchMenuEntry(
|
||||
'Lock after session end', 'lock-after-session-end', padding, true));
|
||||
if (pi.platform == 'Windows') {
|
||||
if (pi.features.privacyMode) {
|
||||
displayMenu.add(MenuEntrySwitch2<String>(
|
||||
switchType: SwitchType.scheckbox,
|
||||
text: translate('Privacy mode'),
|
||||
|
||||
Reference in New Issue
Block a user