From e5c62e6415b32aaf3b68947a91e6b9af55183b72 Mon Sep 17 00:00:00 2001 From: Vavassor Date: Mon, 1 May 2017 23:39:06 -0400 Subject: [PATCH] Switches back a foolish last second change that ruined the light theme toolbar text fix. --- .../main/java/com/keylesspalace/tusky/AccountActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/AccountActivity.java b/app/src/main/java/com/keylesspalace/tusky/AccountActivity.java index db7b3867..ed12bd2c 100644 --- a/app/src/main/java/com/keylesspalace/tusky/AccountActivity.java +++ b/app/src/main/java/com/keylesspalace/tusky/AccountActivity.java @@ -127,13 +127,13 @@ public class AccountActivity extends BaseActivity implements SFragment.OnUserRem < 2 * ViewCompat.getMinimumHeight(collapsingToolbar)) { if (getSupportActionBar() != null && loadedAccount != null) { getSupportActionBar().setTitle(loadedAccount.getDisplayName()); - toolbar.setTitleTextColor(ThemeUtils.getColor(toolbar.getContext(), + toolbar.setTitleTextColor(ThemeUtils.getColor(AccountActivity.this, android.R.attr.textColorPrimary)); String subtitle = String.format(getString(R.string.status_username_format), loadedAccount.username); getSupportActionBar().setSubtitle(subtitle); - toolbar.setSubtitleTextColor(ThemeUtils.getColor(toolbar.getContext(), + toolbar.setSubtitleTextColor(ThemeUtils.getColor(AccountActivity.this, android.R.attr.textColorSecondary)); } attribute = R.attr.account_toolbar_icon_tint_collapsed;