Browse Source

PRS 7.46a

Kenric Nugteren 1 năm trước cách đây
mục cha
commit
f8ed07a332
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      inabox.wpf/ImageUtils.cs

+ 2 - 0
inabox.wpf/ImageUtils.cs

@@ -386,7 +386,9 @@ namespace InABox.WPF
         public static void LoadImage(this BitmapImage image, byte[]? imageData)
         {
             if (imageData == null || imageData.Length == 0)
+            {
                 return;
+            }
 
             using (var mem = new MemoryStream(imageData))
             {