Skip to content

Commit

Permalink
chore: Adjust tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Sep 18, 2024
1 parent 917f2d3 commit c632228
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Resizetizer/src/ResizeImageInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ public static List<ResizeImageInfo> Parse(IEnumerable<ITaskItem>? images)
info.ForegroundScale = fsc;
}

if (bool.TryParse(image.GetMetadata(nameof(UseIconBackground)), out var uib))
{
info.UseIconBackground = uib;
}
if (bool.TryParse(image.GetMetadata(nameof(UseIconBackground)), out var uib))
{
info.UseIconBackground = uib;
}

if (info.IsSplashScreen)
if (info.IsSplashScreen)
{
SetPlatformForegroundScale(image, "Scale", info);
ApplyPlatformScale(image, info);
Expand Down

0 comments on commit c632228

Please sign in to comment.