summaryrefslogtreecommitdiffstats
path: root/src/sandbox.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sandbox.rs')
-rw-r--r--src/sandbox.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sandbox.rs b/src/sandbox.rs
index acf7f5e0..248aa152 100644
--- a/src/sandbox.rs
+++ b/src/sandbox.rs
@@ -1,4 +1,4 @@
-use crate::{Application, Command, Element, Settings};
+use crate::{Application, Command, Element, Settings, Subscription};
/// A sandboxed [`Application`].
///
@@ -149,6 +149,10 @@ where
Command::none()
}
+ fn subscriptions(&self) -> Subscription<T::Message> {
+ Subscription::none()
+ }
+
fn view(&mut self) -> Element<'_, T::Message> {
T::view(self)
}