mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-17 01:51:28 +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:
@@ -62,8 +62,6 @@ class _FileManagerTabPageState extends State<FileManagerTabPage> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final theme =
|
||||
isDarkTheme() ? const TarBarTheme.dark() : const TarBarTheme.light();
|
||||
return SubWindowDragToResizeArea(
|
||||
windowId: windowId(),
|
||||
child: Container(
|
||||
@@ -73,13 +71,10 @@ class _FileManagerTabPageState extends State<FileManagerTabPage> {
|
||||
backgroundColor: MyTheme.color(context).bg,
|
||||
body: DesktopTab(
|
||||
controller: tabController,
|
||||
theme: theme,
|
||||
onClose: () {
|
||||
tabController.clear();
|
||||
},
|
||||
tail: AddButton(
|
||||
theme: theme,
|
||||
).paddingOnly(left: 10),
|
||||
tail: AddButton().paddingOnly(left: 10),
|
||||
)),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user