chore: remove unused warning for load_icon
cargo devel CI / cargo CI (push) Successful in 2m43s Details

This commit is contained in:
Christoph J. Scherr 2024-08-13 16:51:22 +02:00
parent ad0d9da30d
commit 2aa186f99a
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ fn bottom_label(ui: &mut egui::Ui) {
});
}
#[allow(unused)] // it is used in the main function
pub(crate) fn load_icon() -> IconData {
const ICON_RAW: &[u8; 27618] = include_bytes!("../assets/icon-512.jpg");
let (icon_rgba, icon_width, icon_height) = {