Skip to content

Commit 2ad280d

Browse files
authored
fix(android): version Android text-align justify (NativeScript#9620)
1 parent 8878c3b commit 2ad280d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/ui/text-base/index.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export class TextBase extends TextBaseCommon {
296296
this.nativeTextViewProtected.setGravity(android.view.Gravity.START | verticalGravity);
297297
break;
298298
}
299-
if (android.os.Build.VERSION.SDK_INT >= 25) {
299+
if (android.os.Build.VERSION.SDK_INT >= 26) {
300300
if (value === 'justify') {
301301
this.nativeTextViewProtected.setJustificationMode(android.text.Layout.JUSTIFICATION_MODE_INTER_WORD);
302302
} else {

0 commit comments

Comments
 (0)