Always show comment thumbnails, even if placeholders
This commit is contained in:
parent
e955beeef1
commit
f9dae9078e
|
@ -66,7 +66,6 @@ fun Comment(comment: CommentsInfoItem) {
|
|||
.padding(8.dp),
|
||||
horizontalArrangement = Arrangement.spacedBy(8.dp)
|
||||
) {
|
||||
if (ImageStrategy.shouldLoadImages()) {
|
||||
AsyncImage(
|
||||
model = ImageStrategy.choosePreferredImage(comment.uploaderAvatars),
|
||||
contentDescription = null,
|
||||
|
@ -81,7 +80,6 @@ fun Comment(comment: CommentsInfoItem) {
|
|||
)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Column(verticalArrangement = Arrangement.spacedBy(4.dp)) {
|
||||
Row(horizontalArrangement = Arrangement.spacedBy(4.dp)) {
|
||||
|
|
|
@ -51,7 +51,6 @@ fun CommentRepliesHeader(comment: CommentsInfoItem) {
|
|||
horizontalArrangement = Arrangement.spacedBy(8.dp),
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
) {
|
||||
if (ImageStrategy.shouldLoadImages()) {
|
||||
AsyncImage(
|
||||
model = ImageStrategy.choosePreferredImage(comment.uploaderAvatars),
|
||||
contentDescription = null,
|
||||
|
@ -61,7 +60,6 @@ fun CommentRepliesHeader(comment: CommentsInfoItem) {
|
|||
.size(42.dp)
|
||||
.clip(CircleShape)
|
||||
)
|
||||
}
|
||||
|
||||
Column {
|
||||
Text(text = comment.uploaderName)
|
||||
|
|
Loading…
Reference in New Issue