Skip to content

Commit

Permalink
Fix CommentNode previews (#503)
Browse files Browse the repository at this point in the history
Co-authored-by: Lars Ole Simonsen <los@sirenia.eu>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
  • Loading branch information
3 people authored Jun 11, 2023
1 parent ef5f4bb commit c7483b6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ import com.jerboa.isPostCreator
import com.jerboa.ui.components.common.ActionBarButton
import com.jerboa.ui.components.common.CommentOrPostNodeHeader
import com.jerboa.ui.components.common.IconAndTextDrawerItem
import com.jerboa.ui.components.common.MarkdownHelper
import com.jerboa.ui.components.common.MyMarkdownText
import com.jerboa.ui.components.common.VoteGeneric
import com.jerboa.ui.components.community.CommunityLink
Expand Down Expand Up @@ -587,6 +588,7 @@ fun CommentFooterLine(
@Preview
@Composable
fun CommentNodesPreview() {
MarkdownHelper.init(LocalContext.current, true)
val comments = listOf(
sampleSecondReplyCommentView,
sampleCommentView,
Expand Down

0 comments on commit c7483b6

Please sign in to comment.