From: Damyan Ivanov Date: Sat, 15 Aug 2020 12:12:17 +0000 (+0300) Subject: proper constant declaration X-Git-Tag: v0.15.0~56 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=3f7d564f6aa9c6fba886979b8a520796f9b15fa4;p=mobile-ledger.git proper constant declaration --- 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 476c56b3..131efb9d 100644 --- a/app/src/main/java/net/ktnx/mobileledger/utils/Colors.java +++ b/app/src/main/java/net/ktnx/mobileledger/utils/Colors.java @@ -47,13 +47,13 @@ public class Colors { private static final float blueLightness = 0.665f; private static final float yellowLightness = 0.350f; private static final int[][] EMPTY_STATES = new int[][]{new int[0]}; + private static final int SWIPE_COLOR_COUNT = 6; public static @ColorInt int secondary; @ColorInt public static int tableRowDarkBG; public static int profileThemeId = -1; public static MutableLiveData themeWatch = new MutableLiveData<>(0); - private static int SWIPE_COLOR_COUNT = 6; private static int[] themeIDs = {R.style.AppTheme_000, R.style.AppTheme_005, R.style.AppTheme_010, R.style.AppTheme_015, R.style.AppTheme_020, R.style.AppTheme_025, R.style.AppTheme_030, R.style.AppTheme_035,