X-Git-Url: https://git.ktnx.net/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Futils%2FColors.java;h=7cf710ac0067b3b90319190c4f5524679beb38b6;hb=155258526411c608c27476f02fa095d67dc849c2;hp=fa56c19fdaead8e9436c74aefa9890ca6effebf9;hpb=5df10dc0b58df4d4be4e9ab34f1e0f477ca46766;p=mobile-ledger.git 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 fa56c19f..7cf710ac 100644 --- a/app/src/main/java/net/ktnx/mobileledger/utils/Colors.java +++ b/app/src/main/java/net/ktnx/mobileledger/utils/Colors.java @@ -68,7 +68,7 @@ public class Colors { }; private static final HashMap themePrimaryColor = new HashMap<>(); public static @ColorInt - int secondary; + int primary; @ColorInt public static int tableRowDarkBG; public static int profileThemeId = DEFAULT_HUE_DEG; @@ -76,8 +76,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.colorSecondary, tv, true); - secondary = tv.data; + theme.resolveAttribute(R.attr.colorPrimary, tv, true); + primary = tv.data; if (themePrimaryColor.size() == 0) { for (int themeId : themeIDs) {