mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 01:45:55 +08:00
DebugScreen: Do not show microseconds
Way too much info
This commit is contained in:
@ -70,7 +70,7 @@ class _DebugScreenState extends State<DebugScreen> {
|
|||||||
textStyle = textStyle.copyWith(color: _colorForLevel(msg.l));
|
textStyle = textStyle.copyWith(color: _colorForLevel(msg.l));
|
||||||
|
|
||||||
var dt = DateTime.fromMillisecondsSinceEpoch(msg.t);
|
var dt = DateTime.fromMillisecondsSinceEpoch(msg.t);
|
||||||
var timeStr = dt.toIso8601String().substring(11);
|
var timeStr = dt.toIso8601String().substring(11, 11 + 8);
|
||||||
var str = ' ' + msg.msg;
|
var str = ' ' + msg.msg;
|
||||||
|
|
||||||
if (msg.ex != null) {
|
if (msg.ex != null) {
|
||||||
@ -83,7 +83,7 @@ class _DebugScreenState extends State<DebugScreen> {
|
|||||||
var props = <TextSpan>[];
|
var props = <TextSpan>[];
|
||||||
msg.props?.forEach((key, value) {
|
msg.props?.forEach((key, value) {
|
||||||
var emptySpace = TextSpan(
|
var emptySpace = TextSpan(
|
||||||
text: '\n ',
|
text: '\n ',
|
||||||
style: textStyle.copyWith(fontWeight: FontWeight.bold));
|
style: textStyle.copyWith(fontWeight: FontWeight.bold));
|
||||||
props.add(emptySpace);
|
props.add(emptySpace);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user