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

main
Vavassor 8 years ago
parent 292fa53b47
commit e5c62e6415
  1. 4
      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;

Loading…
Cancel
Save