Remove fontFamily parameter. Must use style only.

This commit is contained in:
Benoit Marty
2023-07-10 17:04:44 +02:00
committed by Benoit Marty
parent f0d3b9da53
commit d10fde194f
2 changed files with 11 additions and 10 deletions

View File

@@ -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,