Rename positive and destructive to success and danger in button
This commit is contained in:
parent
4489af7bfd
commit
44f002f64a
7 changed files with 11 additions and 11 deletions
|
|
@ -226,7 +226,7 @@ impl Application for Example {
|
|||
crop_controls,
|
||||
button(centered_text("Crop"))
|
||||
.on_press(Message::Crop)
|
||||
.style(button::destructive)
|
||||
.style(button::danger)
|
||||
.padding([10, 20, 10, 20])
|
||||
.width(Length::Fill),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue