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
|
|
@ -81,7 +81,7 @@ impl LoadingSpinners {
|
|||
Message::CycleDurationChanged(x / 100.0)
|
||||
})
|
||||
.width(200.0),
|
||||
text(format!("{:.2}s", self.cycle_duration)),
|
||||
text!("{:.2}s", self.cycle_duration),
|
||||
]
|
||||
.align_items(iced::Alignment::Center)
|
||||
.spacing(20.0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue