Remove fontFamily parameter. Must use style only.
This commit is contained in:
parent
92bc490fa3
commit
1dae7694fd
2 changed files with 11 additions and 10 deletions
|
|
@ -60,8 +60,6 @@ fun Text(
|
|||
fontSize: TextUnit = TextUnit.Unspecified,
|
||||
fontStyle: FontStyle? = null,
|
||||
// Will be removed, only style should be used
|
||||
fontFamily: FontFamily? = null,
|
||||
// Will be removed, only style should be used
|
||||
letterSpacing: TextUnit = TextUnit.Unspecified,
|
||||
textDecoration: TextDecoration? = null,
|
||||
textAlign: TextAlign? = null,
|
||||
|
|
@ -80,7 +78,6 @@ fun Text(
|
|||
color = color,
|
||||
fontSize = fontSize,
|
||||
fontStyle = fontStyle,
|
||||
fontFamily = fontFamily,
|
||||
letterSpacing = letterSpacing,
|
||||
textDecoration = textDecoration,
|
||||
textAlign = textAlign,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue