mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Mark param as ready to be removed.
This commit is contained in:
committed by
Benoit Marty
parent
18f1d080c3
commit
76e9939c42
+10
@@ -56,13 +56,18 @@ fun Text(
|
|||||||
text: String,
|
text: String,
|
||||||
modifier: Modifier = Modifier,
|
modifier: Modifier = Modifier,
|
||||||
color: Color = Color.Unspecified,
|
color: Color = Color.Unspecified,
|
||||||
|
// Will be removed, only style should be used
|
||||||
fontSize: TextUnit = TextUnit.Unspecified,
|
fontSize: TextUnit = TextUnit.Unspecified,
|
||||||
fontStyle: FontStyle? = null,
|
fontStyle: FontStyle? = null,
|
||||||
|
// Will be removed, only style should be used
|
||||||
fontWeight: FontWeight? = null,
|
fontWeight: FontWeight? = null,
|
||||||
|
// Will be removed, only style should be used
|
||||||
fontFamily: FontFamily? = null,
|
fontFamily: FontFamily? = null,
|
||||||
|
// Will be removed, only style should be used
|
||||||
letterSpacing: TextUnit = TextUnit.Unspecified,
|
letterSpacing: TextUnit = TextUnit.Unspecified,
|
||||||
textDecoration: TextDecoration? = null,
|
textDecoration: TextDecoration? = null,
|
||||||
textAlign: TextAlign? = null,
|
textAlign: TextAlign? = null,
|
||||||
|
// Will be removed, only style should be used
|
||||||
lineHeight: TextUnit = TextUnit.Unspecified,
|
lineHeight: TextUnit = TextUnit.Unspecified,
|
||||||
overflow: TextOverflow = TextOverflow.Clip,
|
overflow: TextOverflow = TextOverflow.Clip,
|
||||||
softWrap: Boolean = true,
|
softWrap: Boolean = true,
|
||||||
@@ -97,13 +102,18 @@ fun Text(
|
|||||||
text: AnnotatedString,
|
text: AnnotatedString,
|
||||||
modifier: Modifier = Modifier,
|
modifier: Modifier = Modifier,
|
||||||
color: Color = Color.Unspecified,
|
color: Color = Color.Unspecified,
|
||||||
|
// Will be removed, only style should be used
|
||||||
fontSize: TextUnit = TextUnit.Unspecified,
|
fontSize: TextUnit = TextUnit.Unspecified,
|
||||||
fontStyle: FontStyle? = null,
|
fontStyle: FontStyle? = null,
|
||||||
|
// Will be removed, only style should be used
|
||||||
fontWeight: FontWeight? = null,
|
fontWeight: FontWeight? = null,
|
||||||
|
// Will be removed, only style should be used
|
||||||
fontFamily: FontFamily? = null,
|
fontFamily: FontFamily? = null,
|
||||||
|
// Will be removed, only style should be used
|
||||||
letterSpacing: TextUnit = TextUnit.Unspecified,
|
letterSpacing: TextUnit = TextUnit.Unspecified,
|
||||||
textDecoration: TextDecoration? = null,
|
textDecoration: TextDecoration? = null,
|
||||||
textAlign: TextAlign? = null,
|
textAlign: TextAlign? = null,
|
||||||
|
// Will be removed, only style should be used
|
||||||
lineHeight: TextUnit = TextUnit.Unspecified,
|
lineHeight: TextUnit = TextUnit.Unspecified,
|
||||||
overflow: TextOverflow = TextOverflow.Clip,
|
overflow: TextOverflow = TextOverflow.Clip,
|
||||||
softWrap: Boolean = true,
|
softWrap: Boolean = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user