generated from PlexSheep/rs-base
chore: remove unused warning for load_icon
cargo devel CI / cargo CI (push) Successful in 2m43s
Details
cargo devel CI / cargo CI (push) Successful in 2m43s
Details
This commit is contained in:
parent
ad0d9da30d
commit
2aa186f99a
|
@ -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 {
|
pub(crate) fn load_icon() -> IconData {
|
||||||
const ICON_RAW: &[u8; 27618] = include_bytes!("../assets/icon-512.jpg");
|
const ICON_RAW: &[u8; 27618] = include_bytes!("../assets/icon-512.jpg");
|
||||||
let (icon_rgba, icon_width, icon_height) = {
|
let (icon_rgba, icon_width, icon_height) = {
|
||||||
|
|
Loading…
Reference in New Issue