refactor(widget): rename cosmic_container to layer_container

This commit is contained in:
Michael Murphy 2024-03-12 16:19:35 +01:00 committed by GitHub
parent 64ecb0ea48
commit 2d41a9e65d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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};
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,
) -> LayerContainer<'a, Message, Theme, crate::Renderer>
where

View file

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