mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-15 12:35:54 +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:
@@ -84,11 +84,14 @@ class _ConnectionTabPageState extends State<ConnectionTabPage>
|
||||
children: [
|
||||
Obx(() => DesktopTabBar(
|
||||
controller: tabController,
|
||||
tabs: connectionIds.toList(),
|
||||
tabs: connectionIds
|
||||
.map((e) =>
|
||||
TabInfo(label: e, icon: Icons.desktop_windows_sharp))
|
||||
.toList(),
|
||||
onTabClose: onRemoveId,
|
||||
tabIcon: Icons.desktop_windows_sharp,
|
||||
selected: _selected,
|
||||
dark: isDarkTheme(),
|
||||
mainTab: false,
|
||||
)),
|
||||
Expanded(
|
||||
child: Obx(() => TabBarView(
|
||||
|
||||
Reference in New Issue
Block a user