1
0
mirror of https://github.com/GitJournal/GitJournal.git synced 2025-07-13 06:30:51 +08:00

DebugScreen: Make it work with dark mode

This commit is contained in:
Vishesh Handa
2020-05-19 22:53:08 +02:00
parent 59c2f866bc
commit 1bf91b9292

@ -164,11 +164,12 @@ class _DebugScreenState extends State<DebugScreen> {
}
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) {