feat(wallpaper): custom background images and folders

This commit is contained in:
Michael Aaron Murphy 2023-12-07 14:08:50 +01:00 committed by Michael Murphy
parent f3e929e769
commit daa730682a
10 changed files with 928 additions and 250 deletions

View file

@ -11,3 +11,4 @@ libcosmic = { workspace = true }
generator = "0.7.4"
downcast-rs = "1.2.0"
once_cell = "1.17.2"
url = "2.5.0"

View file

@ -44,6 +44,11 @@ pub trait Page<Message: 'static>: Downcast {
None
}
/// Response from a file chooser dialog request.
fn file_chooser(&mut self, _selected: Vec<url::Url>) -> Command<Message> {
Command::none()
}
#[must_use]
#[allow(unused)]
fn load(&self, page: crate::Entity) -> Option<crate::Task<Message>> {