Make sure sessions get removed and add more logging
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 37s

This commit is contained in:
2026-08-25 15:42:24 -04:00
parent 46fce20771
commit a55ef1f27e
7 changed files with 192 additions and 115 deletions
+7
View File
@@ -3,6 +3,7 @@ using H.NotifyIcon;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using WorkIndicator.Audio;
using WorkIndicator.Properties;
using WorkIndicator.SettingsWindow;
@@ -17,6 +18,7 @@ internal static class NotificationIcon
{
// Create the notification icon
_notificationIcon = new TaskbarIcon { Icon = Resources.ApplicationIcon };
_notificationIcon.TrayMouseDoubleClick += _notificationIcon_TrayMouseDoubleClick;
// Set up the menu
var contextMenu = new ContextMenu();
@@ -53,6 +55,11 @@ internal static class NotificationIcon
_notificationIcon.ForceCreate(false);
}
private static void _notificationIcon_TrayMouseDoubleClick(object sender, RoutedEventArgs e)
{
LightController.LogAudioState();
}
private static void ShowSettings(object sender, RoutedEventArgs e)
{
var categoryPanels = new List<CategoryPanelBase>