summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/component/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/component/src/main.rs b/examples/component/src/main.rs
index 43ba3187..d5626087 100644
--- a/examples/component/src/main.rs
+++ b/examples/component/src/main.rs
@@ -74,7 +74,7 @@ mod numeric_input {
impl<Message, Theme> Component<Message, Theme> for NumericInput<Message>
where
Theme: text::DefaultStyle
- + button::DefaultStyle
+ + button::Catalog
+ text_input::DefaultStyle
+ 'static,
{
@@ -152,7 +152,7 @@ mod numeric_input {
for Element<'a, Message, Theme>
where
Theme: text::DefaultStyle
- + button::DefaultStyle
+ + button::Catalog
+ text_input::DefaultStyle
+ 'static,
Message: 'a,