mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
Remove more and more warnings
This commit is contained in:
@@ -149,7 +149,7 @@ namespace Emby.Server.Implementations.EntryPoints
|
||||
|
||||
private static bool EnableRefreshMessage(BaseItem item)
|
||||
{
|
||||
if (!(item is Folder folder))
|
||||
if (item is not Folder folder)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
@@ -403,7 +403,7 @@ namespace Emby.Server.Implementations.EntryPoints
|
||||
return false;
|
||||
}
|
||||
|
||||
if (item is IItemByName && !(item is MusicArtist))
|
||||
if (item is IItemByName && item is not MusicArtist)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user