diff --git a/SoundSwitch/Framework/Configuration/ISoundSwitchConfiguration.cs b/SoundSwitch/Framework/Configuration/ISoundSwitchConfiguration.cs index 532895f5e4..8932655870 100644 --- a/SoundSwitch/Framework/Configuration/ISoundSwitchConfiguration.cs +++ b/SoundSwitch/Framework/Configuration/ISoundSwitchConfiguration.cs @@ -35,10 +35,6 @@ public interface ISoundSwitchConfiguration : IConfiguration bool ChangeCommunications { get; set; } uint UpdateCheckInterval { get; set; } - /*TODO: Remove in next VERSION (3.7.0)*/ - [Obsolete("Use the NotificationSettings instead.")] - bool DisplayNotifications { get; set; } - bool MigratedSelectedDeviceLists { get; set; } NotificationTypeEnum NotificationSettings { get; set; } bool SubscribedBetaVersion { get; set; } @@ -46,5 +42,6 @@ public interface ISoundSwitchConfiguration : IConfiguration UpdateState UpdateState { get; set; } TooltipInfoTypeEnum TooltipInfo { get; set; } DeviceCyclerTypeEnum CyclerType { get; set; } + bool KeepSystrayIcon { get; set; } } } \ No newline at end of file diff --git a/SoundSwitch/Framework/Configuration/SoundSwitchConfiguration.cs b/SoundSwitch/Framework/Configuration/SoundSwitchConfiguration.cs index b539971be4..7fc7b11cea 100644 --- a/SoundSwitch/Framework/Configuration/SoundSwitchConfiguration.cs +++ b/SoundSwitch/Framework/Configuration/SoundSwitchConfiguration.cs @@ -42,6 +42,7 @@ public SoundSwitchConfiguration() SubscribedBetaVersion = false; TooltipInfo = TooltipInfoTypeEnum.Playback; CyclerType = DeviceCyclerTypeEnum.Available; + KeepSystrayIcon = false; } @@ -60,19 +61,10 @@ public SoundSwitchConfiguration() public UpdateState UpdateState { get; set; } public TooltipInfoTypeEnum TooltipInfo { get; set; } public DeviceCyclerTypeEnum CyclerType { get; set; } - - /*TODO: Remove in next VERSION (3.7.0)*/ - [Obsolete("Use the NotificationSettings instead.")] - public bool DisplayNotifications - { - get { return NotificationSettings == NotificationTypeEnum.DefaultWindowsNotification; } - set { - NotificationSettings = value ? NotificationTypeEnum.DefaultWindowsNotification : NotificationTypeEnum.NoNotification; - } - } public NotificationTypeEnum NotificationSettings { get; set; } public bool SubscribedBetaVersion { get; set; } public string CustomNotificationFilePath { get; set; } + public bool KeepSystrayIcon { get; set; } //Needed by Interface