summaryrefslogtreecommitdiffstats
path: root/examples/pure
diff options
context:
space:
mode:
authorLibravatar Nick Senger <nicks@lich.io>2022-04-25 16:40:44 -0700
committerLibravatar Nick Senger <nicks@lich.io>2022-04-25 16:40:44 -0700
commitf71150c91fcb2fd7c4c7ddf8ed8d1eaed2dc7bdf (patch)
tree5f8aed98801badf86f3fe53c81c052afa0b76509 /examples/pure
parent7b539479cfbe06d2495a9904ed2eeb0536a32f1c (diff)
downloadiced-f71150c91fcb2fd7c4c7ddf8ed8d1eaed2dc7bdf.tar.gz
iced-f71150c91fcb2fd7c4c7ddf8ed8d1eaed2dc7bdf.tar.bz2
iced-f71150c91fcb2fd7c4c7ddf8ed8d1eaed2dc7bdf.zip
remove example
Diffstat (limited to 'examples/pure')
-rw-r--r--examples/pure/component/src/main.rs14
1 files changed, 5 insertions, 9 deletions
diff --git a/examples/pure/component/src/main.rs b/examples/pure/component/src/main.rs
index 6d5a3b9c..b38d6fca 100644
--- a/examples/pure/component/src/main.rs
+++ b/examples/pure/component/src/main.rs
@@ -1,7 +1,6 @@
use iced::pure::container;
use iced::pure::{Element, Sandbox};
use iced::{Length, Settings};
-use iced_lazy::pure::responsive;
use numeric_input::numeric_input;
@@ -39,14 +38,11 @@ impl Sandbox for Component {
}
fn view(&self) -> Element<Message> {
- responsive(|_| {
- container(numeric_input(self.value, Message::NumericInputChanged))
- .padding(20)
- .height(Length::Fill)
- .center_y()
- .into()
- })
- .into()
+ container(numeric_input(self.value, Message::NumericInputChanged))
+ .padding(20)
+ .height(Length::Fill)
+ .center_y()
+ .into()
}
}