fix cm unread and add vertical divider

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-07-08 11:09:50 +08:00
parent 685d960b1e
commit b0f22d8693
2 changed files with 14 additions and 8 deletions

View File

@@ -462,13 +462,7 @@ class ServerModel with ChangeNotifier {
key: client.id.toString(),
label: client.name,
closable: false,
onTap: () {
if (client.unreadChatMessageCount.value > 0) {
client.unreadChatMessageCount.value = 0;
final chatModel = parent.target!.chatModel;
chatModel.showChatPage(client.id);
}
},
onTap: () {},
page: desktop.buildConnectionCard(client)));
Future.delayed(Duration.zero, () async {
if (!hideCm) window_on_top(null);