We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d78235f commit 4e45c2cCopy full SHA for 4e45c2c
lib/java/com/google/android/material/resources/TextAppearance.java
@@ -354,6 +354,9 @@ public void updateTextPaintMeasureState(
354
}
355
356
private boolean shouldLoadFontSynchronously(Context context) {
357
+ if (TextAppearanceConfig.shouldLoadFontSynchronously()) {
358
+ return true;
359
+ }
360
Typeface typeface =
361
(fontFamilyResourceId != 0)
362
? ResourcesCompat.getCachedFont(context, fontFamilyResourceId)
0 commit comments