Rename NewsResourceDataAndType -> NewsResourceMetaData

Change-Id: Ide67bb9adf740d9cf0bba58f369688f91e0eb85f
pull/476/head
Caren 2 years ago
parent b05302fddd
commit 4ff9c039b3

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

Loading…
Cancel
Save