tmp commit

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-08-04 20:58:14 +08:00
parent fd12f69afa
commit 01ab0cf196
6 changed files with 47 additions and 20 deletions

View File

@@ -49,10 +49,10 @@ class RustDeskMultiWindowManager {
final String sessionIdList = await DesktopMultiWindow.invokeMethod(
windowId, kWindowEventGetSessionIdList, null);
final idList = sessionIdList.split(';');
// if (idList.length <= 1) {
// continue;
// }
for (final idPair in idList) {
if (idList.length <= 1) {
continue;
}
for (final idPair in idList.sublist(1)) {
final peerSession = idPair.split(',');
var params = {
'type': WindowType.RemoteDesktop.index,