fix: peer option, individual_windows, use 'N' instead of '' (#8307)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
ec042434be
commit
35fb9f8897
@ -596,7 +596,7 @@ Future<List<TToggleMenu>> toolbarDisplayToggle(
|
||||
onChanged: (value) {
|
||||
if (value == null) return;
|
||||
bind.sessionSetDisplaysAsIndividualWindows(
|
||||
sessionId: sessionId, value: value ? 'Y' : '');
|
||||
sessionId: sessionId, value: value ? 'Y' : 'N');
|
||||
},
|
||||
child: Text(translate('Show displays as individual windows'))));
|
||||
}
|
||||
@ -613,7 +613,7 @@ Future<List<TToggleMenu>> toolbarDisplayToggle(
|
||||
onChanged: (value) {
|
||||
if (value == null) return;
|
||||
bind.sessionSetUseAllMyDisplaysForTheRemoteSession(
|
||||
sessionId: sessionId, value: value ? 'Y' : '');
|
||||
sessionId: sessionId, value: value ? 'Y' : 'N');
|
||||
},
|
||||
child: Text(translate('Use all my displays for the remote session'))));
|
||||
}
|
||||
|
@ -665,7 +665,7 @@ class _MonitorMenu extends StatelessWidget {
|
||||
onChanged: (value) async {
|
||||
if (value == null) return;
|
||||
await bind.sessionSetDisplaysAsIndividualWindows(
|
||||
sessionId: ffi.sessionId, value: value ? 'Y' : '');
|
||||
sessionId: ffi.sessionId, value: value ? 'Y' : 'N');
|
||||
},
|
||||
ffi: ffi,
|
||||
child: Text(translate('Show displays as individual windows')));
|
||||
|
Loading…
x
Reference in New Issue
Block a user