Skip to content

Commit

Permalink
Merge branch 'dev' into sjmarf/search2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjmarf authored Sep 24, 2023
2 parents 8a6af3b + e775be9 commit c03a627
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 c03a627

Please sign in to comment.