Refactor overlay image handling and improve safety checks for plugin configuration
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 43s
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 43s
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Jellyfin.Plugin.MediaBarEnhanced.Helpers
|
||||
try
|
||||
{
|
||||
// Safety Check: If plugin is disabled, do nothing
|
||||
if (!MediaBarEnhancedPlugin.Instance.Configuration.IsEnabled)
|
||||
if (MediaBarEnhancedPlugin.Instance?.Configuration?.IsEnabled != true)
|
||||
{
|
||||
return originalContents;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user