mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 11:47:35 +00:00
Remove fontFamily parameter. Must use style only.
This commit is contained in:
committed by
Benoit Marty
parent
92bc490fa3
commit
1dae7694fd
-3
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user