feat: save/restore state

This commit is contained in:
Nova
2024-02-20 23:12:23 -05:00
parent a85a9f56a6
commit c582c85a1a
10 changed files with 119 additions and 46 deletions

View File

@@ -243,6 +243,6 @@ impl RootHandler for Single {
}
fn save_state(&mut self) -> ClientState {
ClientState::default()
ClientState::from_root(self.content_parent())
}
}