Skip to content

Commit

Permalink
fixed sticker colors index out bounds exception
Browse files Browse the repository at this point in the history
  • Loading branch information
tlaabs committed Feb 23, 2019
1 parent 1a4a494 commit 8afcda1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ private void setStickerColor() {

for (i = 0; i < size; i++) {
for (TextView v : stickers.get(orders[i]).getView()) {
v.setBackgroundColor(Color.parseColor(stickerColors[i % (colorSize + 1)]));
v.setBackgroundColor(Color.parseColor(stickerColors[i % (colorSize)]));
}
}

Expand Down

0 comments on commit 8afcda1

Please sign in to comment.