Skip to content

Commit 0d68735

Browse files
Merge pull request #2892 from CatimaLoyalty/fix/reduceMaxImageSize
Reduce max photo attachment size to 1600x1600px
2 parents e513ab4 + bb8591b commit 0d68735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/protect/card_locker/Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public class Utils {
118118
static final double LUMINANCE_MIDPOINT = 0.5;
119119

120120
static final int BITMAP_SIZE_SMALL = 512;
121-
static final int BITMAP_SIZE_BIG = 2048;
121+
static final int BITMAP_SIZE_BIG = 1600;
122122

123123
static public LetterBitmap generateIcon(Context context, LoyaltyCard loyaltyCard, boolean forShortcut) {
124124
return generateIcon(context, loyaltyCard.store, loyaltyCard.headerColor, forShortcut);

0 commit comments

Comments
 (0)