fix android show chat overly out of remote page

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2023-07-08 16:08:23 +08:00
parent b0f22d8693
commit 76987105c1

View File

@ -234,6 +234,7 @@ class ChatModel with ChangeNotifier {
}
showChatPage(int id) async {
if (isDesktop) {
if (isConnManager) {
if (!_isShowCMChatPage) {
await toggleCMChatPage(id);
@ -243,6 +244,13 @@ class ChatModel with ChangeNotifier {
await toggleChatOverlay();
}
}
} else {
if (id == clientModeID) {
if (_isChatOverlayHide()) {
await toggleChatOverlay();
}
}
}
}
toggleCMChatPage(int id) async {