Skip to content

Commit 07ec72b

Browse files
author
farfromrefug
committed
fix(android): regression fix
1 parent f8a30b2 commit 07ec72b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Diff for: src/label.android.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,14 @@ export class Label extends LabelBase {
371371
}
372372
}
373373
[maxFontSizeProperty.setNative](value) {
374-
this.enableAutoSize();
374+
if (this.autoFontSize) {
375+
this.enableAutoSize();
376+
}
375377
}
376378
[minFontSizeProperty.setNative](value) {
377-
this.enableAutoSize();
379+
if (this.autoFontSize) {
380+
this.enableAutoSize();
381+
}
378382
}
379383

380384
protected enableAutoSize() {

0 commit comments

Comments
 (0)