mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-20 03:43:19 +03:00
add tabbar theme extension to fix theme update failure after overlay
added Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -48,17 +48,11 @@ class _DesktopTabPageState extends State<DesktopTabPage> {
|
||||
backgroundColor: MyTheme.color(context).bg,
|
||||
body: DesktopTab(
|
||||
controller: tabController,
|
||||
theme: dark
|
||||
? const TarBarTheme.dark()
|
||||
: const TarBarTheme.light(),
|
||||
tail: ActionIcon(
|
||||
message: 'Settings',
|
||||
icon: IconFont.menu,
|
||||
theme: dark
|
||||
? const TarBarTheme.dark()
|
||||
: const TarBarTheme.light(),
|
||||
onTap: onAddSetting,
|
||||
is_close: false,
|
||||
isClose: false,
|
||||
),
|
||||
));
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user