feat(app): diffs colour added lines and +N green, removed lines and -N red
This commit is contained in:
@@ -114,7 +114,8 @@ class _FileDiffViewerState extends State<FileDiffViewer> {
|
||||
changeKindTitle(file.kind),
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
if (stat.isNotEmpty) Text(stat, style: mono),
|
||||
if (stat.isNotEmpty)
|
||||
ChangeStatText(stat, style: mono),
|
||||
if (tags.isNotEmpty)
|
||||
Text(
|
||||
tags.join(' · '),
|
||||
|
||||
Reference in New Issue
Block a user