From 45009a31b9b44662cde235f7a1ab5eed27ebe54f Mon Sep 17 00:00:00 2001 From: Chris Kaczor Date: Fri, 28 Apr 2023 13:02:18 -0400 Subject: [PATCH] ID doesn't work in a release build for some reason --- Application/NotificationIcon.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Application/NotificationIcon.cs b/Application/NotificationIcon.cs index aa69245..9648632 100644 --- a/Application/NotificationIcon.cs +++ b/Application/NotificationIcon.cs @@ -1,5 +1,4 @@ -using System; -using FeedCenter.Properties; +using FeedCenter.Properties; using H.NotifyIcon; using System.Windows.Controls; @@ -17,7 +16,7 @@ internal static class NotificationIcon _mainWindow = mainWindow; // Create the notification icon - _notificationIcon = new TaskbarIcon { Icon = Resources.Application, Id = Guid.Parse("2F4CE5CA-BC20-4D0D-80D0-45F13C6F4905") }; + _notificationIcon = new TaskbarIcon { Icon = Resources.Application }; _notificationIcon.TrayMouseDoubleClick += HandleNotificationIconDoubleClick; // Setup the menu