mirror of
https://github.com/ratatui-org/ratatui
synced 2024-11-10 15:14:27 +00:00
fix(examples): Correct progress label in gague example (#263)
This commit is contained in:
parent
0bf6af17e7
commit
43bac80e4d
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue