From: Damyan Ivanov Date: Sun, 3 Mar 2019 07:51:45 +0000 (+0200) Subject: fixed and extended debug info X-Git-Tag: v0.7~27 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=236c432fc5b353b306ed4e97d587c844e37bfc79;p=mobile-ledger.git fixed and extended debug info --- diff --git a/app/src/main/java/net/ktnx/mobileledger/utils/Colors.java b/app/src/main/java/net/ktnx/mobileledger/utils/Colors.java index 7ea5f781..767765b0 100644 --- a/app/src/main/java/net/ktnx/mobileledger/utils/Colors.java +++ b/app/src/main/java/net/ktnx/mobileledger/utils/Colors.java @@ -115,8 +115,8 @@ public class Colors { if (h < 6) return tupleToColor(c + m, 0 + m, x + m); throw new IllegalArgumentException(String.format( - "Unexpected value for h (%d) while converting hsl(%1.2f, %1.2f, %1.2f) to rgb", h, - hue, saturation, lightness)); + "Unexpected value for h (%1.3f) while converting hsl(%1.3f, %1.3f, %1.3f) to rgb", + h, hue, saturation, lightness)); } public static @ColorInt