Skip to content

Commit

Permalink
[Catalog][Typography] Update description style
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 426404278
  • Loading branch information
paulfthomas authored and pekingme committed Feb 4, 2022
1 parent 94cd532 commit db3cd48
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -87,10 +87,6 @@ protected int getFontStyleNames() {
return R.array.cat_font_style_names_array;
}

protected boolean descriptionAllCaps() {
return true;
}

protected String convertFontFamilyToDescription(String fontFamily) {
if (fontFamily == null) {
return "Regular";
Expand Down Expand Up @@ -183,7 +179,6 @@ public void bind(@StyleRes int style, String name, String attributeName) {

nameView.setText(name);
descriptionView.setText(createDescription(name, style));
descriptionView.setAllCaps(descriptionAllCaps());

TextViewCompat.setTextAppearance(nameView, style);
}
Expand Down

0 comments on commit db3cd48

Please sign in to comment.