diff --git a/AM2RPortHelper/Program.cs b/AM2RPortHelper/Program.cs index 8ff6e27..47bbf06 100644 --- a/AM2RPortHelper/Program.cs +++ b/AM2RPortHelper/Program.cs @@ -379,9 +379,9 @@ namespace AM2RPortHelper 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.SaveAsPng(filePath); } } -} \ No newline at end of file +}