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
|
|
@ -163,7 +163,7 @@ impl Example {
|
|||
.push_maybe(
|
||||
self.crop_error
|
||||
.as_ref()
|
||||
.map(|error| text(format!("Crop error! \n{error}"))),
|
||||
.map(|error| text!("Crop error! \n{error}")),
|
||||
)
|
||||
.spacing(10)
|
||||
.align_items(Alignment::Center);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue