diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-01-26 13:16:47 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-01-26 13:16:47 +0100 |
| commit | 883575893b3f4a4224f920e8c143a9edefca13e4 (patch) | |
| tree | 34de1fd8fb3735835fb30dc634a7cea9088521aa /MediaBrowser.Controller/Entities/BaseItem.cs | |
| parent | d1a0497f55c7f41fe9f01bbed328967e381fd394 (diff) | |
Change image dimentions from double to int
Rename ImageSize -> ImageDimensions
Diffstat (limited to 'MediaBrowser.Controller/Entities/BaseItem.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/BaseItem.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index 5534576f1..0d1a0ce86 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/MediaBrowser.Controller/Entities/BaseItem.cs @@ -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. |
