mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-21 18:40:46 +08:00
patch: Show +/- for diff info in browser
This commit is contained in:
+2
-2
@@ -148,10 +148,10 @@ impl TableItem<8> for PatchItem {
|
||||
let head = Cell::from(format::oid(self.head))
|
||||
.style(Style::default().fg(theme.colors.browser_patch_list_head));
|
||||
|
||||
let added = Cell::from(format!("{}", self.added))
|
||||
let added = Cell::from(format!("+{}", self.added))
|
||||
.style(Style::default().fg(theme.colors.browser_patch_list_added));
|
||||
|
||||
let removed = Cell::from(format!("{}", self.removed))
|
||||
let removed = Cell::from(format!("-{}", self.removed))
|
||||
.style(Style::default().fg(theme.colors.browser_patch_list_removed));
|
||||
|
||||
let updated = Cell::from(format::timestamp(&self.timestamp))
|
||||
|
||||
Reference in New Issue
Block a user