fixed color change bug

This commit is contained in:
r0r-5chach 2023-03-26 21:07:02 +01:00
parent 42a19f092d
commit 82d4195dd2
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ public class BtnOnClickListener implements View.OnClickListener{
break;
case DICE_BUTTON:
intent = new Intent(v.getContext(), DiceActivity.class);
break;
case BACKGROUND_BUTTON:
Random rand = new Random();
backgroundColor = String.format("#%06x", rand.nextInt(0xffffff + 1));