revert using which breaks

pull/5/head
Miepee 4 years ago committed by GitHub
parent 05bc8098e6
commit bb1bb02847
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -379,9 +379,9 @@ namespace AM2RPortHelper
private static void SaveAndroidIcon(Image icon, int dimensions, string filePath) private static void SaveAndroidIcon(Image icon, int dimensions, string filePath)
{ {
using Image picture = icon; Image picture = icon;
picture.Mutate(x => x.Resize(dimensions, dimensions, KnownResamplers.NearestNeighbor)); picture.Mutate(x => x.Resize(dimensions, dimensions, KnownResamplers.NearestNeighbor));
picture.SaveAsPng(filePath); picture.SaveAsPng(filePath);
} }
} }
} }

Loading…
Cancel
Save