mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-06-22 10:02:20 +00:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
9a8c6849af
commit
1a53bee6ee
1 changed files with 3 additions and 2 deletions
|
|
@ -3523,8 +3523,9 @@ class _MinimizedMonitorSwitchButton extends StatelessWidget {
|
|||
return const Offstage();
|
||||
}
|
||||
if (cycle.total < 2) return const Offstage();
|
||||
if (PrivacyModeState.find(id).isNotEmpty &&
|
||||
!allowDisplaySwitchInPrivacyMode(ffi.ffiModel.pi)) {
|
||||
final privacyModeState = PrivacyModeState.find(id);
|
||||
if (privacyModeState.isNotEmpty &&
|
||||
!allowDisplaySwitchInPrivacyMode(ffi.ffiModel.pi, privacyModeState.value)) {
|
||||
return const Offstage();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue