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 942dfb1 commit 9418ab8Copy full SHA for 9418ab8
ui/styling/font.android.ts
@@ -75,7 +75,7 @@ export class Font extends common.Font {
75
break;
76
77
default:
78
- result = this.loadFontFromAsset(fonts[i]);
+ result = this.loadFontFromFile(fonts[i]);
79
80
}
81
@@ -87,7 +87,7 @@ export class Font extends common.Font {
87
return null;
88
89
90
- private loadFontFromAsset(fontFamily: string): android.graphics.Typeface {
+ private loadFontFromFile(fontFamily: string): android.graphics.Typeface {
91
var result = typefaceCache.get(fontFamily);
92
// Check for undefined explicitly as null mean we tried to load the font, but failed.
93
if (types.isUndefined(result)) {
0 commit comments