summaryrefslogtreecommitdiffstats
path: root/src/sandbox.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sandbox.rs')
-rw-r--r--src/sandbox.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sandbox.rs b/src/sandbox.rs
index ab0e8d3d..568b673e 100644
--- a/src/sandbox.rs
+++ b/src/sandbox.rs
@@ -122,7 +122,9 @@ pub trait Sandbox {
/// Returns the current [`application::Appearance`].
fn style(&self, theme: &Theme) -> application::Appearance {
- crate::shell::application::default(theme)
+ use application::DefaultStyle;
+
+ theme.default_style()
}
/// Returns the scale factor of the [`Sandbox`].