We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ef9bcc commit 4276b0cCopy full SHA for 4276b0c
src/label.android.ts
@@ -73,13 +73,14 @@ type ClickableSpan = new (owner: Span) => android.text.style.ClickableSpan;
73
74
function getHorizontalGravity(textAlignment: CoreTypes.TextAlignmentType) {
75
switch (textAlignment) {
76
- case 'initial':
77
- case 'left':
78
- return 8388611; //Gravity.START
79
case 'center':
80
return 1; //Gravity.CENTER_HORIZONTAL
81
case 'right':
82
return 8388613; //Gravity.END
+ default:
+ case 'initial':
+ case 'left':
83
+ return 8388611; //Gravity.START
84
}
85
86
function getVerticalGravity(textAlignment: VerticalTextAlignment) {
0 commit comments