From 0f501307a2ee764b74c7ac8dd059ffca6c01c7b8 Mon Sep 17 00:00:00 2001 From: AHQ Miness Date: Thu, 31 Oct 2024 14:13:56 +0530 Subject: [PATCH] fix: refactor in overlay.rs --- examples/overlay.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/overlay.rs b/examples/overlay.rs index e25d7c7a6..f8c04d453 100644 --- a/examples/overlay.rs +++ b/examples/overlay.rs @@ -56,9 +56,9 @@ fn main() { "4" => 4, "5" => 5, _ => 20 - })); + }), None); } else if modifiers.control_key() && key_str == "1" { - window.set_badge_count(None); + window.set_badge_count(None, None); } #[cfg(windows)]