Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
bin: Fixes moved paths in `patch review`
Erik Kundt committed 1 year ago
commit 7cd6b390236245d2f0b0d09df7e495ed87aaefd6
parent ace9126d0f78ce60c4df2de24a8f14079a7bc4fc
1 file changed +2 -2
modified bin/commands/patch/review.rs
@@ -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(),