delegate history_snap action to protocol driver implementation

This commit is contained in:
yggverse 2025-03-12 11:00:16 +02:00
parent 68b3119bb1
commit 33d5d414ac
16 changed files with 124 additions and 147 deletions

View file

@ -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,