refactor(layer_container): rename module from cosmic_container to layer_container

This commit is contained in:
Michael Aaron Murphy 2024-03-12 01:07:58 +01:00
parent 6754aeb0dc
commit 3faca26f18
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ use iced_core::widget::Tree;
use iced_core::{Clipboard, Element, Layout, Length, Padding, Rectangle, Shell, Widget}; use iced_core::{Clipboard, Element, Layout, Length, Padding, Rectangle, Shell, Widget};
pub use iced_style::container::{Appearance, StyleSheet}; pub use iced_style::container::{Appearance, StyleSheet};
pub fn container<'a, Message: 'static, Theme, E>( pub fn layer_container<'a, Message: 'static, Theme, E>(
content: E, content: E,
) -> LayerContainer<'a, Message, Theme, crate::Renderer> ) -> LayerContainer<'a, Message, Theme, crate::Renderer>
where where

View file

@ -55,8 +55,8 @@ pub mod column {
} }
} }
pub mod cosmic_container; pub mod layer_container;
pub use cosmic_container::LayerContainer; pub use layer_container::{layer_container, LayerContainer};
pub mod dialog; pub mod dialog;
pub use dialog::{dialog, Dialog}; pub use dialog::{dialog, Dialog};