Skip to content

Commit

Permalink
fix(examples): Correct progress label in gague example (ratatui#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbcmorris authored and samyosm committed Jun 18, 2023
1 parent 973fd2e commit facb3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/gauge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ fn ui<B: Backend>(f: &mut Frame<B>, app: &App) {
.use_unicode(true);
f.render_widget(gauge, chunks[2]);

let label = format!("{}/100", app.progress2);
let label = format!("{}/100", app.progress4);
let gauge = Gauge::default()
.block(Block::default().title("Gauge4"))
.gauge_style(
Expand Down

0 comments on commit facb3fe

Please sign in to comment.