X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Futils%2FColors.java;fp=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Futils%2FColors.java;h=eaae572008149fcedaf0d9715f1d6ad302957a0a;hp=283f9ea7796bfb4eaa6c3c4cb7f683e94ff26bc2;hb=a27b9f88f066df4f4e70707c5d08bc8925b59b71;hpb=c73e24dd51cf82fc8ca2cc8813aec6257a93341f 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 283f9ea7..eaae5720 100644 --- a/app/src/main/java/net/ktnx/mobileledger/utils/Colors.java +++ b/app/src/main/java/net/ktnx/mobileledger/utils/Colors.java @@ -48,7 +48,7 @@ public class Colors { private static final float yellowLightness = 0.350f; private static final int[][] EMPTY_STATES = new int[][]{new int[0]}; public static @ColorInt - int accent; + int secondary; @ColorInt public static int tableRowDarkBG; public static int profileThemeId = -1; @@ -78,8 +78,8 @@ public class Colors { TypedValue tv = new TypedValue(); theme.resolveAttribute(R.attr.table_row_dark_bg, tv, true); tableRowDarkBG = tv.data; - theme.resolveAttribute(R.attr.colorAccent, tv, true); - accent = tv.data; + theme.resolveAttribute(R.attr.colorSecondary, tv, true); + secondary = tv.data; // trigger theme observers themeWatch.postValue(themeWatch.getValue() + 1);