From 6383ecc0cb5c1bc418cb25780be2098c70acf366 Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Fri, 1 Sep 2023 07:21:15 +0200 Subject: [PATCH] chore(widget): text_input does not need to be wayland-only --- src/widget/mod.rs | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/widget/mod.rs b/src/widget/mod.rs index df62e544..3e9362b7 100644 --- a/src/widget/mod.rs +++ b/src/widget/mod.rs @@ -21,6 +21,9 @@ pub use button::*; pub mod card; pub use card::*; +pub mod cosmic_container; +pub use cosmic_container::LayerContainer; + pub mod flex_row; pub use flex_row::{flex_row, FlexRow}; @@ -63,6 +66,9 @@ pub use spin_button::{spin_button, SpinButton}; pub mod text; pub use text::{text, Text}; +pub mod text_input; +pub use text_input::*; + mod toggler; pub use toggler::toggler; @@ -73,13 +79,6 @@ pub use view_switcher::vertical as vertical_view_switcher; pub mod warning; pub use warning::*; -pub mod cosmic_container; -pub use cosmic_container::*; -// #[cfg(feature = "wayland")] -pub mod text_input; -// #[cfg(feature = "wayland")] -pub use text_input::*; - /// An element to distinguish a boundary between two elements. pub mod divider { /// Horizontal variant of a divider.