Skip to content

Commit fa62eaf

Browse files
committed
chore: no need to call super. can even be slower
1 parent 653775f commit fa62eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textfield/textfield.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ export class TextField extends TextFieldBase {
280280
}
281281

282282
[fontInternalProperty.setNative](value: Font | UIFont) {
283-
super[fontInternalProperty.setNative](value);
283+
// super[fontInternalProperty.setNative](value);
284284
if (!this.formattedText || !(value instanceof Font)) {
285285
this.nativeViewProtected.setTypeface(value instanceof Font ? value.getAndroidTypeface() : value);
286286
}

0 commit comments

Comments
 (0)