diff options
author | 2024-03-07 15:21:42 +0100 | |
---|---|---|
committer | 2024-03-07 15:21:42 +0100 | |
commit | 44f002f64a9d53040f09affe69bd92675e302e16 (patch) | |
tree | ae7df604a8926a431b63c8ad27910de3ec54342d /examples/lazy | |
parent | 4489af7bfdae32f8bec7c9b2aeaf1b406db696ea (diff) | |
download | iced-44f002f64a9d53040f09affe69bd92675e302e16.tar.gz iced-44f002f64a9d53040f09affe69bd92675e302e16.tar.bz2 iced-44f002f64a9d53040f09affe69bd92675e302e16.zip |
Rename `positive` and `destructive` to `success` and `danger` in `button`
Diffstat (limited to 'examples/lazy')
-rw-r--r-- | examples/lazy/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lazy/src/main.rs b/examples/lazy/src/main.rs index 1c5f59d5..8758fa66 100644 --- a/examples/lazy/src/main.rs +++ b/examples/lazy/src/main.rs @@ -180,7 +180,7 @@ impl Sandbox for App { column(items.into_iter().map(|item| { let button = button("Delete") .on_press(Message::DeleteItem(item.clone())) - .style(button::destructive); + .style(button::danger); row![ text(&item.name).color(item.color), |