mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-28 03:34:46 +03:00
Change image dimentions from double to int
Rename ImageSize -> ImageDimensions
This commit is contained in:
@@ -2235,11 +2235,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
/// </exception>
|
||||
/// <exception cref="ArgumentNullException">item</exception>
|
||||
public string GetImagePath(ImageType imageType, int imageIndex)
|
||||
{
|
||||
var info = GetImageInfo(imageType, imageIndex);
|
||||
|
||||
return info == null ? null : info.Path;
|
||||
}
|
||||
=> GetImageInfo(imageType, imageIndex)?.Path;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the image information.
|
||||
|
||||
Reference in New Issue
Block a user