mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-13 03:28:03 +00:00
refactor tabbar: Homepage adaptation
1. remove redundant MaterialApp in GetMaterialApp 2. unified background color Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -82,11 +82,13 @@ class _FileManagerTabPageState extends State<FileManagerTabPage>
|
||||
Obx(
|
||||
() => DesktopTabBar(
|
||||
controller: tabController,
|
||||
tabs: connectionIds.toList(),
|
||||
tabs: connectionIds
|
||||
.map((e) => TabInfo(label: e, icon: Icons.file_copy_sharp))
|
||||
.toList(),
|
||||
onTabClose: onRemoveId,
|
||||
tabIcon: Icons.file_copy_sharp,
|
||||
selected: _selected,
|
||||
dark: isDarkTheme(),
|
||||
mainTab: false,
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
|
||||
Reference in New Issue
Block a user