From 4b52414e031880e2eadb78c53d13c66470b5a623 Mon Sep 17 00:00:00 2001 From: fufesou Date: Tue, 31 Oct 2023 16:58:20 +0800 Subject: [PATCH] use get instead of static value Signed-off-by: fufesou --- flutter/lib/desktop/widgets/remote_toolbar.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter/lib/desktop/widgets/remote_toolbar.dart b/flutter/lib/desktop/widgets/remote_toolbar.dart index f76480cd3..7c8c931c4 100644 --- a/flutter/lib/desktop/widgets/remote_toolbar.dart +++ b/flutter/lib/desktop/widgets/remote_toolbar.dart @@ -125,7 +125,7 @@ class _ToolbarTheme { : EdgeInsets.fromLTRB(6, 14, 6, 14); static const double menuButtonBorderRadius = 3.0; - static final borderColor = + static get borderColor => MyTheme.currentThemeMode() == ThemeMode.light ? bordLight : bordDark; static final defaultMenuStyle = MenuStyle(