From 2a84962cb296902beab5b5f9a397f4be788fa069 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sun, 17 May 2020 19:49:51 +0200 Subject: [PATCH] DebugScreen: Do not show microseconds Way too much info --- lib/screens/debug_screen.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/screens/debug_screen.dart b/lib/screens/debug_screen.dart index 40f0f191..f7364746 100644 --- a/lib/screens/debug_screen.dart +++ b/lib/screens/debug_screen.dart @@ -70,7 +70,7 @@ class _DebugScreenState extends State { textStyle = textStyle.copyWith(color: _colorForLevel(msg.l)); var dt = DateTime.fromMillisecondsSinceEpoch(msg.t); - var timeStr = dt.toIso8601String().substring(11); + var timeStr = dt.toIso8601String().substring(11, 11 + 8); var str = ' ' + msg.msg; if (msg.ex != null) { @@ -83,7 +83,7 @@ class _DebugScreenState extends State { var props = []; msg.props?.forEach((key, value) { var emptySpace = TextSpan( - text: '\n ', + text: '\n ', style: textStyle.copyWith(fontWeight: FontWeight.bold)); props.add(emptySpace);