Skip to content

Commit

Permalink
Comment background color fix (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjmarf authored Sep 24, 2023
1 parent b513ec3 commit e775be9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Mlem/Views/Shared/Comments/Comment Item.swift
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,6 @@ struct CommentItem: View {
.onTapGesture {
toggleCollapsed()
}
.contextMenu {
ForEach(genMenuFunctions()) { item in
MenuButton(menuFunction: item, confirmDestructive: confirmDestructive)
}
}
.destructiveConfirmation(
isPresentingConfirmDestructive: $isPresentingConfirmDestructive,
confirmationMenuFunction: confirmationMenuFunction
Expand All @@ -202,6 +197,11 @@ struct CommentItem: View {
trailing: enableSwipeActions ? [saveSwipeAction, replySwipeAction, expandCollapseCommentAction] : []
)
.border(width: borderWidth, edges: [.leading], color: threadingColors[depth % threadingColors.count])
.contextMenu {
ForEach(genMenuFunctions()) { item in
MenuButton(menuFunction: item, confirmDestructive: confirmDestructive)
}
}
}
// swiftlint:enable function_body_length
}
Expand Down

0 comments on commit e775be9

Please sign in to comment.