Skip to content

Commit 82a4af7

Browse files
committed
fix(android): correctly set font
1 parent c9fd367 commit 82a4af7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/label.android.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -512,9 +512,9 @@ export class Label extends LabelBase {
512512
// }
513513
[fontInternalProperty.setNative](value: Font | android.graphics.Typeface) {
514514
// profile('fontInternalProperty', () => {
515-
if (!(value instanceof Font)) {
515+
// if (!(value instanceof Font)) {
516516
this.nativeTextViewProtected.setTypeface(value instanceof Font ? value.getAndroidTypeface() : value);
517-
}
517+
// }
518518
// })();
519519
}
520520

0 commit comments

Comments
 (0)