mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-16 08:20:39 +08:00
patch: Improve selection progress
This commit is contained in:
@@ -369,9 +369,6 @@ impl Render<()> for Patches {
|
||||
},
|
||||
);
|
||||
|
||||
let (step, len) = self.table.progress(self.props.patches.len());
|
||||
|
||||
let progress = span::badge(format!("{}/{}", step, len));
|
||||
let filter = span::default(self.props.filter.to_string()).magenta().dim();
|
||||
let stats = Line::from(
|
||||
[
|
||||
@@ -395,6 +392,9 @@ impl Render<()> for Patches {
|
||||
)
|
||||
.alignment(Alignment::Right);
|
||||
|
||||
let (step, len) = self.table.progress(self.props.patches.len());
|
||||
let progress = span::progress(step, len, false);
|
||||
|
||||
self.footer.render::<B>(
|
||||
frame,
|
||||
layout[2],
|
||||
|
||||
Reference in New Issue
Block a user