Skip to content

Commit 4ec6140

Browse files
committed
fix(textfield): android font no applied to both floating and inner textfield
1 parent daed52a commit 4ec6140

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,9 +280,9 @@ export class TextField extends TextFieldBase {
280280
}
281281

282282
[fontInternalProperty.setNative](value: Font | UIFont) {
283-
// super[fontInternalProperty.setNative](value);
284283
if (!this.formattedText || !(value instanceof Font)) {
285284
this.nativeViewProtected.setTypeface(value instanceof Font ? value.getAndroidTypeface() : value);
285+
this.nativeTextViewProtected.setTypeface(value instanceof Font ? value.getAndroidTypeface() : value);
286286
}
287287
}
288288
[paddingTopProperty.setNative](value: Length) {

0 commit comments

Comments
 (0)