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