mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-05-15 12:06:28 -04:00
Remove unnecessary image load from storage calls
The LoyaltyCard object itself loads the images itself
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user