mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-12 02:46:00 +02:00
close chat page bofore remote page
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
3ec13714c9
commit
b58fbb26ba
2 changed files with 9 additions and 1 deletions
|
@ -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>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue