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