Skip to content

Commit d0bd637

Browse files
committed
- fix nullable issue
1 parent 6b2069d commit d0bd637

File tree

1 file changed

+2
-2
lines changed
  • multiplatform-markdown-renderer/src/commonMain/kotlin/com/mikepenz/markdown/compose/elements/material

1 file changed

+2
-2
lines changed

multiplatform-markdown-renderer/src/commonMain/kotlin/com/mikepenz/markdown/compose/elements/material/TextWrapper.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ internal fun MarkdownBasicText(
3030
fontFamily: FontFamily? = null,
3131
letterSpacing: TextUnit = TextUnit.Unspecified,
3232
textDecoration: TextDecoration? = null,
33-
textAlign: TextAlign? = null,
33+
textAlign: TextAlign = TextAlign.Unspecified,
3434
lineHeight: TextUnit = TextUnit.Unspecified,
3535
overflow: TextOverflow = TextOverflow.Clip,
3636
softWrap: Boolean = true,
@@ -81,7 +81,7 @@ internal fun MarkdownBasicText(
8181
fontFamily: FontFamily? = null,
8282
letterSpacing: TextUnit = TextUnit.Unspecified,
8383
textDecoration: TextDecoration? = null,
84-
textAlign: TextAlign? = null,
84+
textAlign: TextAlign = TextAlign.Unspecified,
8585
lineHeight: TextUnit = TextUnit.Unspecified,
8686
overflow: TextOverflow = TextOverflow.Clip,
8787
softWrap: Boolean = true,

0 commit comments

Comments
 (0)