From: Damyan Ivanov Date: Sat, 12 Jan 2019 15:31:25 +0000 (+0000) Subject: fix bold account name color in transacion list X-Git-Tag: v0.3~46 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=c7e7112da0e31bcded1e96feb68d608542c47808;p=mobile-ledger.git fix bold account name color in transacion list (properly retrieve the dark primary color) --- diff --git a/app/src/main/java/net/ktnx/mobileledger/MobileLedgerApplication.java b/app/src/main/java/net/ktnx/mobileledger/MobileLedgerApplication.java index 6550765b..6971dec4 100644 --- a/app/src/main/java/net/ktnx/mobileledger/MobileLedgerApplication.java +++ b/app/src/main/java/net/ktnx/mobileledger/MobileLedgerApplication.java @@ -66,13 +66,13 @@ public class MobileLedgerApplication extends Application { Resources.Theme theme = getTheme(); Globals.tableRowDarkBG = rm.getColor(R.color.table_row_dark_bg, theme); Globals.tableRowLightBG = rm.getColor(R.color.table_row_light_bg, theme); - Globals.primaryDark = rm.getColor(R.color.design_default_color_primary_dark, theme); + Globals.primaryDark = rm.getColor(R.color.colorPrimaryDark, theme); Globals.defaultTextColor = rm.getColor(android.R.color.tab_indicator_text, theme); } else { Globals.tableRowDarkBG = rm.getColor(R.color.table_row_dark_bg); Globals.tableRowLightBG = rm.getColor(R.color.table_row_light_bg); - Globals.primaryDark = rm.getColor(R.color.design_default_color_primary_dark); + Globals.primaryDark = rm.getColor(R.color.colorPrimaryDark); Globals.defaultTextColor = rm.getColor(android.R.color.tab_indicator_text); } } diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 85b8f48f..3ae64c82 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -18,7 +18,7 @@ #935ff2 - #42148c + #3e148c #724db6 #ffffffff #286c33d4