diff --git a/Cargo.lock b/Cargo.lock index 4601c0f..6831eca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1813,7 +1813,7 @@ dependencies = [ [[package]] name = "razer-battery-report" -version = "0.2.1" +version = "0.2.2" dependencies = [ "hidapi", "image", diff --git a/Cargo.toml b/Cargo.toml index 5e7ede7..4fafffe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "razer-battery-report" -version = "0.2.1" +version = "0.2.2" authors = ["xzeldon "] edition = "2021" description = "Razer Battery Level Tray Indicator" diff --git a/src/tray.rs b/src/tray.rs index 8ab17f2..5dcf7e1 100644 --- a/src/tray.rs +++ b/src/tray.rs @@ -15,7 +15,7 @@ use tray_icon::{ }; use winapi::um::{ wincon::GetConsoleWindow, - winuser::{self, ShowWindow, SW_SHOW}, + winuser::{self, ShowWindow}, }; const BATTERY_UPDATE_INTERVAL: std::time::Duration = std::time::Duration::from_secs(60);