Skip to content

Commit 5229637

Browse files
committed
fix(ios): autoFontSize fix broken font formatting on measure
1 parent 96756a2 commit 5229637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/label.ios.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ export class Label extends LabelBase {
341341
}
342342

343343
const desiredSize = layout.measureNativeView(nativeView, width, widthMode, height, heightMode);
344-
if (resetFont) {
344+
if (!this.formattedText && !this.html && resetFont) {
345345
nativeView.font = resetFont;
346346
}
347347

0 commit comments

Comments
 (0)