summaryrefslogtreecommitdiffstats
path: root/examples/pure
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-03-07 18:04:13 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-03-07 18:04:13 +0700
commitb50e208f31e51c2d947aeaf9fea8a9f287f26aa1 (patch)
tree6d5aef7e1def2287e7412568b2b81aca3a8d730f /examples/pure
parent9fd66c820d08d3ff193ef04907686774c98d2fec (diff)
downloadiced-b50e208f31e51c2d947aeaf9fea8a9f287f26aa1.tar.gz
iced-b50e208f31e51c2d947aeaf9fea8a9f287f26aa1.tar.bz2
iced-b50e208f31e51c2d947aeaf9fea8a9f287f26aa1.zip
Implement `pure::Responsive` in `iced_lazy`
Diffstat (limited to 'examples/pure')
-rw-r--r--examples/pure/component/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pure/component/src/main.rs b/examples/pure/component/src/main.rs
index 0de7bdd9..ab10317f 100644
--- a/examples/pure/component/src/main.rs
+++ b/examples/pure/component/src/main.rs
@@ -49,7 +49,7 @@ impl Sandbox for Component {
mod numeric_input {
use iced::pure::widget::Element;
use iced::pure::widget::{row, text, text_input};
- use iced_lazy::pure::component::{self, Component};
+ use iced_lazy::pure::{self, Component};
use iced_native::alignment::{self, Alignment};
use iced_native::text;
use iced_native::Length;
@@ -162,7 +162,7 @@ mod numeric_input {
Renderer: 'static + text::Renderer,
{
fn from(numeric_input: NumericInput<Message>) -> Self {
- component::view(numeric_input)
+ pure::component(numeric_input)
}
}
}