refactor: replace text(format!( with text macro
This commit is contained in:
parent
6146382676
commit
bf9bbf4a3e
18 changed files with 41 additions and 41 deletions
|
|
@ -131,7 +131,7 @@ impl App {
|
|||
subtitle(
|
||||
"Timeout",
|
||||
row![
|
||||
text(format!("{:0>2} sec", self.timeout_secs)),
|
||||
text!("{:0>2} sec", self.timeout_secs),
|
||||
slider(
|
||||
1.0..=30.0,
|
||||
self.timeout_secs as f64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue