From b50e208f31e51c2d947aeaf9fea8a9f287f26aa1 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 7 Mar 2022 18:04:13 +0700 Subject: Implement `pure::Responsive` in `iced_lazy` --- examples/pure/component/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/pure') 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) -> Self { - component::view(numeric_input) + pure::component(numeric_input) } } } -- cgit