Make sure sessions get removed and add more logging
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 37s
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 37s
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user