aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui/adapter
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-03-31 15:25:57 +0200
committerChristian Schneppe <christian@pix-art.de>2018-03-31 15:25:57 +0200
commitea7aa63bb951ce8680d28a131f4f7230076708ef (patch)
treeaab6e1b04a55fc7b3a6fee4a8ee5ae28418ba136 /src/main/java/de/pixart/messenger/ui/adapter
parentdbe8ee40eced09e4721b9e0d9b27d49fe668a12e (diff)
updated manage account activity to new colors
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/adapter')
-rw-r--r--src/main/java/de/pixart/messenger/ui/adapter/AccountAdapter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/AccountAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/AccountAdapter.java
index 792d365ef..81a3017a8 100644
--- a/src/main/java/de/pixart/messenger/ui/adapter/AccountAdapter.java
+++ b/src/main/java/de/pixart/messenger/ui/adapter/AccountAdapter.java
@@ -21,6 +21,7 @@ import de.pixart.messenger.Config;
import de.pixart.messenger.R;
import de.pixart.messenger.entities.Account;
import de.pixart.messenger.ui.XmppActivity;
+import de.pixart.messenger.ui.util.Color;
import de.pixart.messenger.utils.UIHelper;
public class AccountAdapter extends ArrayAdapter<Account> {
@@ -56,7 +57,7 @@ public class AccountAdapter extends ArrayAdapter<Account> {
break;
case DISABLED:
case CONNECTING:
- statusView.setTextColor(activity.getSecondaryTextColor());
+ statusView.setTextColor(Color.get(activity, android.R.attr.textColorSecondary));
break;
default:
statusView.setTextColor(activity.getWarningTextColor());