diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2022-05-06 22:14:35 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2022-05-08 08:19:23 +0200 |
commit | 4c2d7e23861861c13644f1c9e3dc4e4356912f71 (patch) | |
tree | ea7342fc4bdee29185fe23606cb60ef6b22509ac /android/source | |
parent | 50b89a53ffa73c05b64817184be6b5208d66d660 (diff) |
android: Use existing Color.WHITE constant
... instead of creating the color from the RGB
values manually.
Change-Id: I2058de553e2e744440e7d856ca9bfaf5f9041b49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133983
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android/source')
-rw-r--r-- | android/source/src/java/org/libreoffice/ColorPickerAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/source/src/java/org/libreoffice/ColorPickerAdapter.java b/android/source/src/java/org/libreoffice/ColorPickerAdapter.java index 89b9b9044033..d81d43c77fbc 100644 --- a/android/source/src/java/org/libreoffice/ColorPickerAdapter.java +++ b/android/source/src/java/org/libreoffice/ColorPickerAdapter.java @@ -113,7 +113,7 @@ public class ColorPickerAdapter extends RecyclerView.Adapter<ColorPickerAdapter. } } for (int i = 0; i < 11; i++){ - this.colorPalette[i][7] = (Color.rgb(255, 255, 255)); // last one is always white + this.colorPalette[i][7] = Color.WHITE; // last one is always white } colorPaletteAdapter.setColorPalette(colorPalette); } |