summaryrefslogtreecommitdiffstats
path: root/widget/src/helpers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'widget/src/helpers.rs')
-rw-r--r--widget/src/helpers.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/widget/src/helpers.rs b/widget/src/helpers.rs
index 71b0579d..ed385ea5 100644
--- a/widget/src/helpers.rs
+++ b/widget/src/helpers.rs
@@ -15,6 +15,7 @@ use crate::rule::{self, Rule};
use crate::runtime::Command;
use crate::scrollable::{self, Scrollable};
use crate::slider::{self, Slider};
+use crate::style::application;
use crate::text::{self, Text};
use crate::text_editor::{self, TextEditor};
use crate::text_input::{self, TextInput};
@@ -445,6 +446,7 @@ pub fn themer<'a, Message, Theme, Renderer>(
) -> Themer<'a, Message, Theme, Renderer>
where
Renderer: core::Renderer,
+ Theme: application::StyleSheet,
{
Themer::new(theme, content)
}