summaryrefslogtreecommitdiffstats
path: root/examples/screenshot/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/screenshot/src/main.rs')
-rw-r--r--examples/screenshot/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/screenshot/src/main.rs b/examples/screenshot/src/main.rs
index c670b20b..10a6aea3 100644
--- a/examples/screenshot/src/main.rs
+++ b/examples/screenshot/src/main.rs
@@ -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),
]