mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-08-26 02:04:25 +08:00
when remote page receive chat message: if minimized, top page and switch tab, otherwise add unread message count
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@ -187,6 +187,10 @@ class DesktopTabController {
|
||||
state.value.tabs.clear();
|
||||
state.refresh();
|
||||
}
|
||||
|
||||
Widget? widget(String key) {
|
||||
return state.value.tabs.firstWhereOrNull((tab) => tab.key == key)?.page;
|
||||
}
|
||||
}
|
||||
|
||||
class TabThemeConf {
|
||||
|
Reference in New Issue
Block a user