Skip to content

Commit

Permalink
Check _package.Icon, not packageIcon
Browse files Browse the repository at this point in the history
  • Loading branch information
lauren-ciha committed Oct 22, 2024
1 parent 0a9357d commit 5acf585
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,12 @@ private void ToggleSelection()

public BitmapImage GetLightThemeIcon()
{
return _packageLightThemeIcon == null ? DefaultLightPackageIconSource : CreateBitmapImage(_package.LightThemeIcon);
return _package.LightThemeIcon == null ? DefaultLightPackageIconSource : CreateBitmapImage(_package.LightThemeIcon);
}

public BitmapImage GetDarkThemeIcon()
{
return _packageDarkThemeIcon == null ? DefaultDarkPackageIconSource : CreateBitmapImage(_package.DarkThemeIcon);
return _package.DarkThemeIcon == null ? DefaultDarkPackageIconSource : CreateBitmapImage(_package.DarkThemeIcon);
}

private BitmapImage CreateBitmapImage(IRandomAccessStream stream)
Expand Down

0 comments on commit 5acf585

Please sign in to comment.