summaryrefslogtreecommitdiffstats
path: root/examples/todos
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-07 15:21:42 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-07 15:21:42 +0100
commit44f002f64a9d53040f09affe69bd92675e302e16 (patch)
treeae7df604a8926a431b63c8ad27910de3ec54342d /examples/todos
parent4489af7bfdae32f8bec7c9b2aeaf1b406db696ea (diff)
downloadiced-44f002f64a9d53040f09affe69bd92675e302e16.tar.gz
iced-44f002f64a9d53040f09affe69bd92675e302e16.tar.bz2
iced-44f002f64a9d53040f09affe69bd92675e302e16.zip
Rename `positive` and `destructive` to `success` and `danger` in `button`
Diffstat (limited to 'examples/todos')
-rw-r--r--examples/todos/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs
index 800d2fe0..aaa86ef8 100644
--- a/examples/todos/src/main.rs
+++ b/examples/todos/src/main.rs
@@ -386,7 +386,7 @@ impl Task {
)
.on_press(TaskMessage::Delete)
.padding(10)
- .style(button::destructive)
+ .style(button::danger)
]
.spacing(20)
.align_items(Alignment::Center)