diff --git a/bin/commands/patch/list/imui.rs b/bin/commands/patch/list/imui.rs index c091da7d..98174071 100644 --- a/bin/commands/patch/list/imui.rs +++ b/bin/commands/patch/list/imui.rs @@ -410,7 +410,14 @@ impl App { Column::new(Span::raw("Updated").bold(), Constraint::Length(16)).hide_small(), ]; - let table = ui.headered_table(frame, &mut selected, &patches, header.clone(), header); + let table = ui.headered_table( + frame, + &mut selected, + &patches, + header.clone(), + header, + Some("No patches found".into()), + ); if table.changed { ui.send_message(Message::PatchesChanged { state: TableState::new(selected), diff --git a/bin/commands/patch/review.rs b/bin/commands/patch/review.rs index 7516c84b..b4b444cc 100644 --- a/bin/commands/patch/review.rs +++ b/bin/commands/patch/review.rs @@ -337,7 +337,7 @@ impl<'a> App<'a> { let mut selected = state.selected_hunk(); - let table = ui.headered_table(frame, &mut selected, &hunks, header, columns); + let table = ui.headered_table(frame, &mut selected, &hunks, header, columns, None); if table.changed { ui.send_message(Message::HunkChanged { state: TableState::new(selected), diff --git a/bin/ui/im.rs b/bin/ui/im.rs index df040af6..791341a0 100644 --- a/bin/ui/im.rs +++ b/bin/ui/im.rs @@ -131,6 +131,7 @@ where self.selected, self.items, self.header.to_vec(), + None, if *self.show_search { Some(Borders::BottomSides) } else {