diff options
Diffstat (limited to 'MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs b/MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs index 4a1f0ac74..ae898f0f9 100644 --- a/MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs +++ b/MediaBrowser.ServerApplication/EntryPoints/NewItemNotifier.cs @@ -109,7 +109,7 @@ namespace MediaBrowser.ServerApplication.EntryPoints } // Show the notification - if (newItems.Count == 1) + if (newItems.Count > 0) { Application.Current.Dispatcher.InvokeAsync(() => { @@ -122,19 +122,6 @@ namespace MediaBrowser.ServerApplication.EntryPoints }, PopupAnimation.Slide, 6000)); }); } - else if (newItems.Count > 1) - { - Application.Current.Dispatcher.InvokeAsync(() => - { - var window = (MainWindow)Application.Current.MainWindow; - - window.Dispatcher.InvokeAsync(() => window.MbTaskbarIcon.ShowCustomBalloon(new MultiItemUpdateNotification(_logger) - { - DataContext = newItems - - }, PopupAnimation.Slide, 6000)); - }); - } } /// <summary> |
