mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 07:46:32 +01:00
Remove more and more warnings
This commit is contained in:
@@ -112,7 +112,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
private string _name;
|
||||
|
||||
public static char SlugChar = '-';
|
||||
public const char SlugChar = '-';
|
||||
|
||||
protected BaseItem()
|
||||
{
|
||||
@@ -2050,7 +2050,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
public virtual string GetClientTypeName()
|
||||
{
|
||||
if (IsFolder && SourceType == SourceType.Channel && !(this is Channel))
|
||||
if (IsFolder && SourceType == SourceType.Channel && this is not Channel)
|
||||
{
|
||||
return "ChannelFolderItem";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user