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
|
|
@ -166,7 +166,7 @@ impl Download {
|
|||
.into()
|
||||
}
|
||||
State::Downloading { .. } => {
|
||||
text(format!("Downloading... {current_progress:.2}%")).into()
|
||||
text!("Downloading... {current_progress:.2}%").into()
|
||||
}
|
||||
State::Errored => column![
|
||||
"Something went wrong :(",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue