Merge pull request #6554 from fufesou/fix/mobile_switch_display

fix, mobile, switch display
This commit is contained in:
RustDesk 2023-11-29 12:34:36 +08:00 committed by GitHub
commit d0dde6e572
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,4 @@
import 'dart:async'; import 'dart:async';
import 'dart:typed_data';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
@ -788,9 +787,7 @@ void showOptions(
children.add(InkWell( children.add(InkWell(
onTap: () { onTap: () {
if (i == cur) return; if (i == cur) return;
gFFI.recordingModel.onClose(); openMonitorInTheSameTab(i, gFFI, pi);
bind.sessionSwitchDisplay(
sessionId: gFFI.sessionId, value: Int32List.fromList([i]));
gFFI.dialogManager.dismissAll(); gFFI.dialogManager.dismissAll();
}, },
child: Ink( child: Ink(