diff --git a/lib/screens/debug_screen.dart b/lib/screens/debug_screen.dart index 20cfd98f..a4fe2f7c 100644 --- a/lib/screens/debug_screen.dart +++ b/lib/screens/debug_screen.dart @@ -164,11 +164,12 @@ class _DebugScreenState extends State { } Color _colorForLevel(String l) { + var theme = Theme.of(context); switch (l) { case 'e': return Colors.red; } - return Colors.black; + return theme.brightness == Brightness.light ? Colors.black : Colors.white; } Widget _buildDateWidget(DateTime dt) {