@@ -14,7 +14,7 @@ fun Subtitle(
1414 color : ColorProvider ? = null,
1515 maxLines : Int = Int .MAX_VALUE ,
1616) {
17- Text (text = text, modifier = modifier, style = GlanceTextStyles .subtitle.withColor(color), maxLines = maxLines)
17+ Text (text = text, style = GlanceTextStyles .subtitle.withColor(color), maxLines = maxLines, modifier = modifier )
1818}
1919
2020@Composable
@@ -24,7 +24,7 @@ fun BodyMSB(
2424 color : ColorProvider ? = null,
2525 maxLines : Int = Int .MAX_VALUE ,
2626) {
27- Text (text = text, modifier = modifier, style = GlanceTextStyles .bodyMSB.withColor(color), maxLines = maxLines)
27+ Text (text = text, style = GlanceTextStyles .bodyMSB.withColor(color), maxLines = maxLines, modifier = modifier )
2828}
2929
3030@Composable
@@ -34,7 +34,7 @@ fun BodySSB(
3434 color : ColorProvider ? = null,
3535 maxLines : Int = Int .MAX_VALUE ,
3636) {
37- Text (text = text, modifier = modifier, style = GlanceTextStyles .bodySSB.withColor(color), maxLines = maxLines)
37+ Text (text = text, style = GlanceTextStyles .bodySSB.withColor(color), maxLines = maxLines, modifier = modifier )
3838}
3939
4040@Composable
@@ -44,7 +44,7 @@ fun BodySB(
4444 color : ColorProvider ? = null,
4545 maxLines : Int = Int .MAX_VALUE ,
4646) {
47- Text (text = text, modifier = modifier, style = GlanceTextStyles .bodySB.withColor(color), maxLines = maxLines)
47+ Text (text = text, style = GlanceTextStyles .bodySB.withColor(color), maxLines = maxLines, modifier = modifier )
4848}
4949
5050@Composable
@@ -54,7 +54,7 @@ fun CaptionB(
5454 color : ColorProvider ? = null,
5555 maxLines : Int = Int .MAX_VALUE ,
5656) {
57- Text (text = text, modifier = modifier, style = GlanceTextStyles .captionB.withColor(color), maxLines = maxLines)
57+ Text (text = text, style = GlanceTextStyles .captionB.withColor(color), maxLines = maxLines, modifier = modifier )
5858}
5959
6060@Composable
@@ -64,7 +64,7 @@ fun FootnoteM(
6464 color : ColorProvider ? = null,
6565 maxLines : Int = Int .MAX_VALUE ,
6666) {
67- Text (text = text, modifier = modifier, style = GlanceTextStyles .footnoteM.withColor(color), maxLines = maxLines)
67+ Text (text = text, style = GlanceTextStyles .footnoteM.withColor(color), maxLines = maxLines, modifier = modifier )
6868}
6969
7070private fun TextStyle.withColor (color : ColorProvider ? ): TextStyle =
0 commit comments