Remove unnecessary image load from storage calls

The LoyaltyCard object itself loads the images itself
This commit is contained in:
Sylvia van Os
2024-12-05 18:39:25 +01:00
parent e0786594bc
commit 8009baca26
4 changed files with 7 additions and 7 deletions

View File

@@ -99,7 +99,7 @@ public class CardsOnPowerScreenService extends ControlsProviderService {
}
private Bitmap getIcon(Context context, LoyaltyCard loyaltyCard) {
Bitmap cardIcon = Utils.retrieveCardImage(context, loyaltyCard.id, ImageLocationType.icon);
Bitmap cardIcon = loyaltyCard.getImageThumbnail(context);
if (cardIcon != null) {
return cardIcon;