mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
flutter_desktop: adjust window
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -69,6 +69,8 @@ class DesktopTabController {
|
||||
|
||||
DesktopTabController({required this.tabType});
|
||||
|
||||
int get length => state.value.tabs.length;
|
||||
|
||||
void add(TabInfo tab, {bool authorized = false}) {
|
||||
if (!isDesktop) return;
|
||||
final index = state.value.tabs.indexWhere((e) => e.key == tab.key);
|
||||
|
||||
Reference in New Issue
Block a user