]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/utils/Colors.java
disable some annoying debug
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / utils / Colors.java
index 131efb9d1349db9d30bddc8196676839eb9fa2d8..05ec81755c0759543993e49b797144bfedee1b17 100644 (file)
@@ -25,6 +25,7 @@ import android.util.TypedValue;
 import androidx.annotation.ColorInt;
 import androidx.annotation.ColorLong;
 import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
 import androidx.lifecycle.MutableLiveData;
 
 import net.ktnx.mobileledger.BuildConfig;
@@ -155,8 +156,9 @@ public class Colors {
     public static @ColorInt
     int getPrimaryColorForHue(int hueDegrees) {
         int result = hslColor(hueDegrees / 360f, 0.845f, hueLightness(hueDegrees));
-        debug("colors", String.format(Locale.ENGLISH, "getPrimaryColorForHue(%d) = %x", hueDegrees,
-                result));
+//        debug("colors", String.format(Locale.ENGLISH, "getPrimaryColorForHue(%d) = %x",
+//        hueDegrees,
+//                result));
         return result;
     }
     public static void setupTheme(Activity activity) {