mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
delegate history_snap action to protocol driver implementation
This commit is contained in:
parent
68b3119bb1
commit
33d5d414ac
16 changed files with 124 additions and 147 deletions
|
|
@ -93,6 +93,16 @@ impl Page {
|
|||
self.search.show()
|
||||
}
|
||||
|
||||
/// Make new history record in related components
|
||||
pub fn snap_history(&self) {
|
||||
self.item_action
|
||||
.history
|
||||
.add(self.navigation.request(), true);
|
||||
self.profile
|
||||
.history
|
||||
.open(self.navigation.request(), Some(self.title()))
|
||||
}
|
||||
|
||||
/// Cleanup session for `Self`
|
||||
pub fn clean(
|
||||
&self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue