Skip to content
Merged

Beta #110

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Controllers/ShopImageController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,8 @@ private async Task<SKBitmap> GenerateItemCard(ShopEntry shopEntry)
}

using var resizedImageBitmap =
shopEntry.Image.Resize(new SKImageInfo(resizeWidth, resizeHeight), SKSamplingOptions.Default);
shopEntry.Image.Resize(new SKImageInfo(resizeWidth, resizeHeight), SKSamplingOptions.Default) ??
shopEntry.Image;

// Car bundles get centered in the middle of the card vertically
if (shopEntry.ImageType == "car-bundle")
Expand Down