diff --git a/DroidFishApp/src/main/java/net/margaritov/preference/colorpicker/AHSVColor.java b/DroidFishApp/src/main/java/net/margaritov/preference/colorpicker/AHSVColor.java index 34a564b..3a620d4 100644 --- a/DroidFishApp/src/main/java/net/margaritov/preference/colorpicker/AHSVColor.java +++ b/DroidFishApp/src/main/java/net/margaritov/preference/colorpicker/AHSVColor.java @@ -45,7 +45,7 @@ class AHSVColor { int b = Color.blue(color); double oldHue = hsv[0]; ARGBToHSV(Color.rgb(r, g, b), hsv); - if (hsv[1] <= 0f) + if (hsv[1] <= 0.0) hsv[0] = oldHue; }