mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 23:13:06 +03:00
Implemented more suggestions
This commit is contained in:
@@ -425,7 +425,7 @@ namespace MediaBrowser.Api.UserLibrary
|
||||
var val = ImageTypes;
|
||||
|
||||
return string.IsNullOrEmpty(val)
|
||||
? new ImageType[] { }
|
||||
? Array.Empty<ImageType>()
|
||||
: val.Split(',').Select(v => Enum.Parse<ImageType>(v, true)).ToArray();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user