diff --git a/src/main.rs b/src/main.rs index 96479bb..2171392 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,12 +8,11 @@ mod app; fn main() -> eframe::Result { env_logger::init(); // Log to stderr (if you run with `RUST_LOG=debug`). - let icon = app::load_icon(); let native_options = eframe::NativeOptions { viewport: egui::ViewportBuilder::default() .with_inner_size([400.0, 300.0]) .with_min_inner_size([300.0, 220.0]) - .with_icon(icon), + .with_icon(app::load_icon()), ..Default::default() }; eframe::run_native(