diff --git a/DesktopNotifications.Apple/AppleNotificationManager.cs b/DesktopNotifications.Apple/AppleNotificationManager.cs index d23263f..a65b15d 100644 --- a/DesktopNotifications.Apple/AppleNotificationManager.cs +++ b/DesktopNotifications.Apple/AppleNotificationManager.cs @@ -2,6 +2,8 @@ using System.Runtime.InteropServices; using System.Threading.Tasks; +#pragma warning disable 0067 + namespace DesktopNotifications.Apple { public class AppleNotificationManager : INotificationManager diff --git a/DesktopNotifications.Windows/WindowsNotificationManager.cs b/DesktopNotifications.Windows/WindowsNotificationManager.cs index 1f23cf2..cec85df 100644 --- a/DesktopNotifications.Windows/WindowsNotificationManager.cs +++ b/DesktopNotifications.Windows/WindowsNotificationManager.cs @@ -90,7 +90,7 @@ namespace DesktopNotifications.Windows //TODO: Lookup notification object from history? _notificationActivatedHandler.Invoke(this, - new NotificationActivatedEventArgs(null, _launchAction)); + new NotificationActivatedEventArgs(null!, _launchAction)); _launchAction = null; }