open multi windows, add remote toolbar option

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-10-17 13:57:06 +08:00
parent e997b148e1
commit f1d3a553d1
8 changed files with 40 additions and 25 deletions

View File

@@ -705,13 +705,13 @@ class FfiModel with ChangeNotifier {
notifyListeners();
if (!isCache) {
tryUseAllMyDisplaysWhenConnecting(peerId);
tryUseAllMyDisplaysForTheRemoteSession(peerId);
}
}
tryUseAllMyDisplaysWhenConnecting(String peerId) async {
if (bind.mainGetUserDefaultOption(
key: kKeyUseAllMyMonitorsWhenConnecting) !=
tryUseAllMyDisplaysForTheRemoteSession(String peerId) async {
if (bind.sessionGetUseAllMyDisplaysForTheRemoteSession(
sessionId: sessionId) !=
'Y') {
return;
}