Skip to content

Commit

Permalink
fix(android): correctly set font
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Feb 17, 2020
1 parent c9fd367 commit 82a4af7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/label.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,9 +512,9 @@ export class Label extends LabelBase {
// }
[fontInternalProperty.setNative](value: Font | android.graphics.Typeface) {
// profile('fontInternalProperty', () => {
if (!(value instanceof Font)) {
// if (!(value instanceof Font)) {
this.nativeTextViewProtected.setTypeface(value instanceof Font ? value.getAndroidTypeface() : value);
}
// }
// })();
}

Expand Down

0 comments on commit 82a4af7

Please sign in to comment.