Working on making multiple notification systems possible, removing the old "notifyicon" balloon for Windows 10.

This commit is contained in:
Robin Krom 2020-03-10 13:17:13 +01:00
commit 1ba0bf9b10
6 changed files with 189 additions and 24 deletions

View file

@ -546,7 +546,7 @@ namespace Greenshot.Helpers {
if (string.IsNullOrEmpty(eventArgs?.Message)) {
return;
}
var notifyIconClassicMessageHandler = SimpleServiceProvider.Current.GetInstance<NotifyIconNotificationService>();
var notifyIconClassicMessageHandler = SimpleServiceProvider.Current.GetInstance<INotificationService>();
switch (eventArgs.MessageType) {
case SurfaceMessageTyp.Error:
notifyIconClassicMessageHandler.ShowErrorMessage(eventArgs.Message, 10000);