Skip to content

Commit

Permalink
Remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
lusingander committed Sep 7, 2024
1 parent 2719b10 commit 6899c43
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/pages/object_detail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,10 +386,6 @@ impl ObjectDetailPage {
.send(AppEventType::ObjectDetailOpenManagementConsole);
}

pub fn current_object_detail(&self) -> &FileDetail {
&self.file_detail
}

fn current_selected_version_id(&self) -> Option<String> {
match &self.tab {
Tab::Detail(_) => None,
Expand Down
4 changes: 0 additions & 4 deletions src/pages/page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@ impl PageStack {
self.stack.last_mut().unwrap()
}

pub fn head(&self) -> &Page {
self.stack.first().unwrap()
}

pub fn iter(&self) -> std::slice::Iter<Page> {
self.stack.iter()
}
Expand Down

0 comments on commit 6899c43

Please sign in to comment.