|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|