summaryrefslogtreecommitdiffstats
path: root/examples/editor
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-04 20:42:37 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-04 20:42:37 +0100
commitf4a4845ddbdced81ae4ff60bfa19f0e602d84709 (patch)
treeb532017384eb9e43e57bf73be372aea0d55af652 /examples/editor
parentdb92e1c942154bee474fee5e2c187f8a52a1bb96 (diff)
downloadiced-f4a4845ddbdced81ae4ff60bfa19f0e602d84709.tar.gz
iced-f4a4845ddbdced81ae4ff60bfa19f0e602d84709.tar.bz2
iced-f4a4845ddbdced81ae4ff60bfa19f0e602d84709.zip
Simplify theming for `Button` widget
Diffstat (limited to 'examples/editor')
-rw-r--r--examples/editor/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/editor/src/main.rs b/examples/editor/src/main.rs
index 53c9cf7c..b5870e9e 100644
--- a/examples/editor/src/main.rs
+++ b/examples/editor/src/main.rs
@@ -290,7 +290,7 @@ fn action<'a, Message: Clone + 'a>(
.style(theme::Container::Box)
.into()
} else {
- action.style(theme::Button::Secondary).into()
+ action.style(button::secondary).into()
}
}