feat: memorize last active page between instances

This commit is contained in:
Michael Aaron Murphy 2023-01-27 03:10:54 +01:00
parent 2709dcfee5
commit 9d3c3405a2
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
23 changed files with 252 additions and 87 deletions

View file

@ -15,12 +15,8 @@ pub struct Page;
impl page::Page for Page {
type Model = super::Model;
const PERSISTENT_ID: &'static str = "desktop";
fn page() -> page::Meta {
page::Meta::default()
.title(fl!("desktop"))
.icon_name("video-display-symbolic")
page::Meta::new("desktop", "video-display-symbolic").title(fl!("desktop"))
}
fn sub_pages(page: page::Insert) -> page::Insert {