]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/utils/Colors.java
Colors: also set defaultTextColor and accent
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / utils / Colors.java
index edd9c7715d8c3b645b335ac3ec6c2fb0dc8b45dc..40e953b14cbadbb398edb32dbbd5482f3dfe9753 100644 (file)
@@ -32,6 +32,10 @@ public class Colors {
         tableRowLightBG = tv.data;
         theme.resolveAttribute(R.attr.colorPrimary, tv, true);
         primary = tv.data;
+        theme.resolveAttribute(android.R.color.tab_indicator_text, tv, true);
+        defaultTextColor = tv.data;
+        theme.resolveAttribute(R.attr.colorAccent, tv, true);
+        accent = tv.data;
 
         // trigger theme observers
         themeWatch.notifyObservers();