From c7e7112da0e31bcded1e96feb68d608542c47808 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 12 Jan 2019 15:31:25 +0000 Subject: [PATCH] fix bold account name color in transacion list (properly retrieve the dark primary color) --- .../java/net/ktnx/mobileledger/MobileLedgerApplication.java | 4 ++-- app/src/main/res/values/colors.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5