Merge pull request #3759 from NicKoehler/display-state-fix
fix for #3746
This commit is contained in:
commit
3b7f264c32
@ -394,7 +394,7 @@ class _RemoteMenubarState extends State<RemoteMenubar> {
|
||||
}
|
||||
|
||||
if (PrivacyModeState.find(widget.id).isFalse &&
|
||||
stateGlobal.displaysCount.value > 1) {
|
||||
widget.ffi.ffiModel.pi.displays.length > 1) {
|
||||
toolbarItems.add(
|
||||
bind.mainGetUserDefaultOption(key: 'show_monitors_toolbar') == 'Y'
|
||||
? _MultiMonitorMenu(id: widget.id, ffi: widget.ffi)
|
||||
@ -2252,10 +2252,10 @@ class _MultiMonitorMenu extends StatelessWidget {
|
||||
final FFI ffi;
|
||||
|
||||
const _MultiMonitorMenu({
|
||||
super.key,
|
||||
Key? key,
|
||||
required this.id,
|
||||
required this.ffi,
|
||||
});
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user