Skip to content

Commit

Permalink
Paywalls: replace TextAlign.Left with TextAlign.Start to better…
Browse files Browse the repository at this point in the history
… support RTL (#1584)
  • Loading branch information
NachoSoto committed Jan 30, 2024
1 parent 3fff2a8 commit 161a1de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,11 @@ private fun ColumnScope.Template2LandscapeContent(

IconImage(state, childModifier)

Title(state, childModifier, TextAlign.Left)
Title(state, childModifier, TextAlign.Start)

Spacer(Modifier.weight(UIConstant.halfWeight))

Subtitle(state, childModifier, TextAlign.Left)
Subtitle(state, childModifier, TextAlign.Start)

Spacer(Modifier.weight(UIConstant.halfWeight))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ private fun Title(
Markdown(
style = MaterialTheme.typography.displaySmall,
fontWeight = FontWeight.Bold,
textAlign = TextAlign.Left,
textAlign = TextAlign.Start,
text = state.selectedLocalization.title,
color = state.templateConfiguration.getCurrentColors().text1,
)
Expand Down

0 comments on commit 161a1de

Please sign in to comment.