mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-12 18:29:10 +08:00
Merge pull request #6554 from fufesou/fix/mobile_switch_display
fix, mobile, switch display
This commit is contained in:
commit
d0dde6e572
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user