mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Improving stability for the notification issue reported in #182
This commit is contained in:
parent
3055d42689
commit
87f3b6a871
3 changed files with 204 additions and 177 deletions
|
@ -63,7 +63,7 @@ namespace GreenshotWin10Plugin
|
|||
return false;
|
||||
}
|
||||
|
||||
SimpleServiceProvider.Current.AddService<INotificationService>(new ToastNotificationService());
|
||||
SimpleServiceProvider.Current.AddService<INotificationService>(ToastNotificationService.Create());
|
||||
// Set this as IOcrProvider
|
||||
SimpleServiceProvider.Current.AddService<IOcrProvider>(new Win10OcrProvider());
|
||||
// Add the processor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue