Skip to content

Commit

Permalink
refactor(ui/multiple_select): remove unnecessary argument of render m…
Browse files Browse the repository at this point in the history
…ethod
  • Loading branch information
sarub0b0 committed Jun 25, 2023
1 parent 2b0b480 commit 7bdfb9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/widget/complex/multiple_select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ impl<'a> SelectForm<'a> {
}
}

fn render<B: Backend>(&mut self, f: &mut Frame<B>, _: bool) {
fn render<B: Backend>(&mut self, f: &mut Frame<B>) {
let (chunks, arrow) = self.chunks_and_arrow();

let arrow = Paragraph::new(Span::styled(
Expand Down Expand Up @@ -680,7 +680,7 @@ impl RenderTrait for MultipleSelect<'_> {
Paragraph::new(format!("[{}/{}]", status.0, status.1)),
self.layout.split(inner_chunk)[LAYOUT_INDEX_FOR_STATUS],
);
self.selected_widget.render(f, is_active);
self.selected_widget.render(f);
}
}

Expand Down

0 comments on commit 7bdfb9b

Please sign in to comment.