We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 019677b commit 8fa519aCopy full SHA for 8fa519a
1 file changed
app/src/main/java/org/wikipedia/feed/image/FeaturedImageModule.kt
@@ -154,6 +154,7 @@ fun FeaturedImageModule(
154
text = featuredImage.description.text,
155
color = Color.White,
156
style = MaterialTheme.typography.bodySmall,
157
+ maxLines = 2,
158
linkStyle = TextLinkStyles(
159
style = SpanStyle(
160
@@ -173,6 +174,7 @@ fun FeaturedImageModule(
173
174
text = "${featuredImage.artist?.html.orEmpty()} - ${featuredImage.credit?.html.orEmpty()}",
175
176
177
+ maxLines = 1,
178
179
180
0 commit comments