mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-03 18:30:41 +08:00
bin: Fixes moved paths in patch review
This commit is contained in:
@@ -329,7 +329,7 @@ impl<'a> App<'a> {
|
||||
(_, crate::cob::ReviewItem::FileMoved { moved }) => {
|
||||
let path = Line::from(
|
||||
[
|
||||
ReviewItem::pretty_path(&moved.new_path, false).spans,
|
||||
ReviewItem::pretty_path(&moved.old_path, false).spans,
|
||||
[span::default(" -> ")].to_vec(),
|
||||
ReviewItem::pretty_path(&moved.new_path, false).spans,
|
||||
]
|
||||
@@ -341,7 +341,7 @@ impl<'a> App<'a> {
|
||||
Column::new(path.clone(), Constraint::Length(path.width() as u16)),
|
||||
Column::new(
|
||||
span::default(" moved ")
|
||||
.light_red()
|
||||
.light_blue()
|
||||
.dim()
|
||||
.reversed()
|
||||
.into_right_aligned_line(),
|
||||
|
||||
Reference in New Issue
Block a user