feat: partial implementation of wallpaper settings
Will take some time to refactor the rest
This commit is contained in:
parent
14a4a23bc9
commit
a4eee2186c
14 changed files with 375 additions and 80 deletions
|
|
@ -83,3 +83,12 @@ impl Info {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! update {
|
||||
($binder:expr, $message:expr, $page:ty) => {{
|
||||
if let Some(page) = $binder.page_mut::<$page>() {
|
||||
page.update($message);
|
||||
}
|
||||
}};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue