Switches back a foolish last second change that ruined the light theme toolbar text fix.

This commit is contained in:
Vavassor 2017-05-01 23:39:06 -04:00
parent ba0ad09f19
commit b6cf99602b

View file

@ -127,13 +127,13 @@ public class AccountActivity extends BaseActivity implements SFragment.OnUserRem
< 2 * ViewCompat.getMinimumHeight(collapsingToolbar)) { < 2 * ViewCompat.getMinimumHeight(collapsingToolbar)) {
if (getSupportActionBar() != null && loadedAccount != null) { if (getSupportActionBar() != null && loadedAccount != null) {
getSupportActionBar().setTitle(loadedAccount.getDisplayName()); getSupportActionBar().setTitle(loadedAccount.getDisplayName());
toolbar.setTitleTextColor(ThemeUtils.getColor(toolbar.getContext(), toolbar.setTitleTextColor(ThemeUtils.getColor(AccountActivity.this,
android.R.attr.textColorPrimary)); android.R.attr.textColorPrimary));
String subtitle = String.format(getString(R.string.status_username_format), String subtitle = String.format(getString(R.string.status_username_format),
loadedAccount.username); loadedAccount.username);
getSupportActionBar().setSubtitle(subtitle); getSupportActionBar().setSubtitle(subtitle);
toolbar.setSubtitleTextColor(ThemeUtils.getColor(toolbar.getContext(), toolbar.setSubtitleTextColor(ThemeUtils.getColor(AccountActivity.this,
android.R.attr.textColorSecondary)); android.R.attr.textColorSecondary));
} }
attribute = R.attr.account_toolbar_icon_tint_collapsed; attribute = R.attr.account_toolbar_icon_tint_collapsed;