mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
close chat page bofore remote page
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -526,6 +526,7 @@ String formatDurationToTime(Duration duration) {
|
||||
|
||||
closeConnection({String? id}) {
|
||||
if (isAndroid || isIOS) {
|
||||
gFFI.chatModel.hideChatOverlay();
|
||||
Navigator.popUntil(globalKey.currentContext!, ModalRoute.withName("/"));
|
||||
} else {
|
||||
final controller = Get.find<DesktopTabController>();
|
||||
|
||||
Reference in New Issue
Block a user