mirror of
https://github.com/ckaczor/FeedCenter.git
synced 2026-02-15 02:48:31 -05:00
Handle notification icon error until dependency issue gets worked out
This commit is contained in:
@@ -54,9 +54,6 @@ public partial class MainWindow : IDisposable
|
||||
// Set up the update handler
|
||||
InitializeUpdate();
|
||||
|
||||
// Show the notification icon
|
||||
NotificationIcon.Initialize(this);
|
||||
|
||||
// Load window settings
|
||||
LoadWindowSettings();
|
||||
|
||||
@@ -93,6 +90,16 @@ public partial class MainWindow : IDisposable
|
||||
NewVersionLink.Visibility = Visibility.Visible;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
// Show the notification icon
|
||||
NotificationIcon.Initialize(this);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.Logger.Error(e, "");
|
||||
}
|
||||
|
||||
Log.Logger.Information("MainForm creation finished");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user