Remove lineHeight parameter. Must use style only.

This commit is contained in:
Benoit Marty 2023-07-10 17:10:41 +02:00 committed by Benoit Marty
parent 68f14141d6
commit 277595412f
4 changed files with 12 additions and 13 deletions

View file

@ -61,8 +61,6 @@ fun Text(
fontStyle: FontStyle? = null,
textDecoration: TextDecoration? = null,
textAlign: TextAlign? = null,
// Will be removed, only style should be used
lineHeight: TextUnit = TextUnit.Unspecified,
overflow: TextOverflow = TextOverflow.Clip,
softWrap: Boolean = true,
minLines: Int = 1,
@ -78,7 +76,6 @@ fun Text(
fontStyle = fontStyle,
textDecoration = textDecoration,
textAlign = textAlign,
lineHeight = lineHeight,
overflow = overflow,
softWrap = softWrap,
minLines = minLines,