mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-03 04:08:06 +01:00
fix: divider between comments in user detail (#636)
This commit is contained in:
parent
8998a04800
commit
7e5c7d603a
@ -66,7 +66,6 @@ import com.github.diegoberaldin.raccoonforlemmy.core.utils.compose.rememberCallb
|
||||
import com.github.diegoberaldin.raccoonforlemmy.domain.lemmy.data.CommentModel
|
||||
import com.github.diegoberaldin.raccoonforlemmy.domain.lemmy.data.PostModel
|
||||
import com.github.diegoberaldin.raccoonforlemmy.domain.lemmy.data.readableHandle
|
||||
import com.github.diegoberaldin.raccoonforlemmy.unit.chat.InboxChatMviModel
|
||||
import com.github.diegoberaldin.raccoonforlemmy.unit.drafts.DraftsScreen
|
||||
import com.github.diegoberaldin.raccoonforlemmy.unit.filteredcontents.FilteredContentsScreen
|
||||
import com.github.diegoberaldin.raccoonforlemmy.unit.filteredcontents.FilteredContentsType
|
||||
@ -409,7 +408,8 @@ object ProfileLoggedScreen : Tab {
|
||||
items = uiState.comments,
|
||||
key = { it.id.toString() + (it.updateDate ?: it.publishDate) },
|
||||
) { comment ->
|
||||
CommentCard(modifier = Modifier.background(MaterialTheme.colorScheme.background),
|
||||
CommentCard(
|
||||
modifier = Modifier.background(MaterialTheme.colorScheme.background),
|
||||
comment = comment,
|
||||
voteFormat = uiState.voteFormat,
|
||||
autoLoadImages = uiState.autoLoadImages,
|
||||
@ -493,7 +493,8 @@ object ProfileLoggedScreen : Tab {
|
||||
|
||||
else -> Unit
|
||||
}
|
||||
})
|
||||
},
|
||||
)
|
||||
HorizontalDivider(
|
||||
modifier = Modifier.padding(vertical = Spacing.xxxs),
|
||||
thickness = 0.25.dp
|
||||
|
@ -1002,12 +1002,13 @@ class UserDetailScreen(
|
||||
}
|
||||
},
|
||||
)
|
||||
HorizontalDivider(
|
||||
modifier = Modifier.padding(vertical = Spacing.xxxs),
|
||||
thickness = 0.25.dp
|
||||
)
|
||||
},
|
||||
)
|
||||
|
||||
HorizontalDivider(
|
||||
modifier = Modifier.padding(vertical = Spacing.xxxs),
|
||||
thickness = 0.25.dp
|
||||
)
|
||||
}
|
||||
|
||||
if (uiState.comments.isEmpty() && !uiState.loading) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user