mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 02:57:22 +00:00
fix cm unread and add vertical divider
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user