fix ios setting page show chat title

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-09-03 07:21:27 +08:00
parent a9308dd992
commit 58073484fe
2 changed files with 13 additions and 8 deletions

View File

@@ -396,7 +396,7 @@ class ChatModel with ChangeNotifier {
parent.target?.serverModel.jumpTo(id);
}
} else {
if (HomePage.homeKey.currentState?.selectedIndex != 1 ||
if (HomePage.homeKey.currentState?.isChatPageCurrentTab != true ||
_currentKey != messagekey) {
client.unreadChatMessageCount.value += 1;
mobileUpdateUnreadSum();