Skip to content

Commit f4b0c05

Browse files
committed
fix(android): wrong api level for setJustificationMode #11
1 parent 9a124d1 commit f4b0c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/label.android.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ export class Label extends LabelBase {
424424

425425
[textAlignmentProperty.setNative](value: CoreTypes.TextAlignmentType) {
426426
const view = this.nativeTextViewProtected;
427-
if (android.os.Build.VERSION.SDK_INT >= 25) {
427+
if (android.os.Build.VERSION.SDK_INT >= 26) {
428428
if ((value as any) === 'justify') {
429429
view.setJustificationMode(android.text.Layout.JUSTIFICATION_MODE_INTER_WORD);
430430
} else {

0 commit comments

Comments
 (0)