refactor account switcher & management previews

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2024-05-25 17:00:21 -04:00
committed by William Casarin
parent 22264e70f5
commit 7ebd694f11
4 changed files with 89 additions and 70 deletions

View File

@@ -131,4 +131,12 @@ impl<'a> SimpleProfilePreviewController<'a> {
}
None
}
pub fn show_with_pfp(
&'a self,
ui: &mut egui::Ui,
key: &Pubkey,
ui_element: fn(ui: &mut egui::Ui, preview: SimpleProfilePreview) -> egui::Response,
) {
}
}