improv(appearance): place import/export buttons in header

This commit is contained in:
Michael Aaron Murphy 2024-01-18 15:23:21 +01:00 committed by Michael Murphy
parent c00b41a463
commit 805bafd1b6
5 changed files with 67 additions and 49 deletions

View file

@ -46,6 +46,10 @@ pub trait Page<Message: 'static>: Downcast {
Command::none()
}
fn header_view(&self) -> Option<Element<'_, Message>> {
None
}
#[must_use]
#[allow(unused)]
fn reload(&mut self, page: crate::Entity) -> Command<Message> {