Fix some warnings

This commit is contained in:
Luis von der Eltz
2021-02-06 17:25:35 +01:00
parent 2feff33623
commit 722a5c35a3
2 changed files with 3 additions and 1 deletions
@@ -2,6 +2,8 @@
using System.Runtime.InteropServices;
using System.Threading.Tasks;
#pragma warning disable 0067
namespace DesktopNotifications.Apple
{
public class AppleNotificationManager : INotificationManager
@@ -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;
}