Rename NewsResourceDateAndNewsType -> NewsResourceDateAndType

Change-Id: I535c62f3317d6ada882a08235c0c4465d9963201
pull/476/head
Caren 2 years ago
parent f150516b3c
commit f563862df3

@ -110,7 +110,7 @@ fun NewsResourceCardExpanded(
BookmarkButton(isBookmarked, onToggleBookmark) BookmarkButton(isBookmarked, onToggleBookmark)
} }
Spacer(modifier = Modifier.height(12.dp)) Spacer(modifier = Modifier.height(12.dp))
NewsResourceDateAndNewsType(newsResource.publishDate, newsResource.type) NewsResourceDateAndType(newsResource.publishDate, newsResource.type)
Spacer(modifier = Modifier.height(12.dp)) Spacer(modifier = Modifier.height(12.dp))
NewsResourceShortDescription(newsResource.content) NewsResourceShortDescription(newsResource.content)
Spacer(modifier = Modifier.height(12.dp)) Spacer(modifier = Modifier.height(12.dp))
@ -196,7 +196,7 @@ private fun dateFormatted(publishDate: Instant): String {
} }
@Composable @Composable
fun NewsResourceDateAndNewsType( fun NewsResourceDateAndType(
publishDate: Instant, publishDate: Instant,
resourceType: NewsResourceType resourceType: NewsResourceType

Loading…
Cancel
Save