Changed online color to green instead of primary

This commit is contained in:
Anders Sandblad 2015-01-23 22:28:10 +01:00
parent 4e50098e31
commit cbebd14dbd
2 changed files with 5 additions and 1 deletions

View file

@ -687,6 +687,10 @@ public abstract class XmppActivity extends Activity {
return this.mPrimaryColor;
}
public int getOnlineColor() {
return this.mColorGreen;
}
public int getSecondaryBackgroundColor() {
return this.mSecondaryBackgroundColor;
}

View file

@ -39,7 +39,7 @@ public class AccountAdapter extends ArrayAdapter<Account> {
statusView.setText(getContext().getString(account.getStatus().getReadableId()));
switch (account.getStatus()) {
case ONLINE:
statusView.setTextColor(activity.getPrimaryColor());
statusView.setTextColor(activity.getOnlineColor());
break;
case DISABLED:
case CONNECTING: