mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-25 09:53:20 +03:00
opt: dark theme, add follow system mode
This commit is contained in:
@@ -247,7 +247,7 @@ class _PortForwardPageState extends State<PortForwardPage>
|
||||
height: _kRowHeight,
|
||||
decoration: BoxDecoration(
|
||||
color: index % 2 == 0
|
||||
? isDarkTheme()
|
||||
? MyTheme.currentThemeMode() == ThemeMode.dark
|
||||
? const Color(0xFF202020)
|
||||
: const Color(0xFFF4F5F6)
|
||||
: MyTheme.color(context).bg),
|
||||
|
||||
Reference in New Issue
Block a user