mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-07 16:28:56 +01:00
fixed the plugin catalog not loading
This commit is contained in:
@@ -101,7 +101,6 @@ namespace MediaBrowser.ServerApplication
|
||||
|
||||
Kernel.Instance.ReloadCompleted += KernelReloadCompleted;
|
||||
_logManager.LoggerLoaded += LoadLogWindow;
|
||||
Kernel.Instance.HasPendingRestartChanged += Instance_HasPendingRestartChanged;
|
||||
Kernel.Instance.ConfigurationUpdated += Instance_ConfigurationUpdated;
|
||||
}
|
||||
|
||||
@@ -131,19 +130,6 @@ namespace MediaBrowser.ServerApplication
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets visibility of the restart message when the kernel value changes
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="e">The <see cref="EventArgs" /> instance containing the event data.</param>
|
||||
void Instance_HasPendingRestartChanged(object sender, EventArgs e)
|
||||
{
|
||||
Dispatcher.InvokeAsync(() =>
|
||||
{
|
||||
MbTaskbarIcon.ToolTipText = Kernel.Instance.HasPendingRestart ? "Media Browser Server - Please restart to finish updating." : "Media Browser Server";
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handles the LibraryChanged event of the Instance control.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user