Skip to content

Commit 9418ab8

Browse files
author
vakrilov
committed
Method rename
1 parent 942dfb1 commit 9418ab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/styling/font.android.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class Font extends common.Font {
7575
break;
7676

7777
default:
78-
result = this.loadFontFromAsset(fonts[i]);
78+
result = this.loadFontFromFile(fonts[i]);
7979
break;
8080
}
8181

@@ -87,7 +87,7 @@ export class Font extends common.Font {
8787
return null;
8888
}
8989

90-
private loadFontFromAsset(fontFamily: string): android.graphics.Typeface {
90+
private loadFontFromFile(fontFamily: string): android.graphics.Typeface {
9191
var result = typefaceCache.get(fontFamily);
9292
// Check for undefined explicitly as null mean we tried to load the font, but failed.
9393
if (types.isUndefined(result)) {

0 commit comments

Comments
 (0)