Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjmarf committed Dec 14, 2024
1 parent 929083d commit 7930852
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Mlem/App/Views/Shared/CommentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ struct CommentView: View {
NavigationLink(.post(post)) {
FooterLinkView(title: post.title, subtitle: comment.community_?.fullNameWithPrefix)
}
.id("\(comment.id)_commment_footer")
}
if !compactComments {
InteractionBarView(
Expand Down
3 changes: 3 additions & 0 deletions Mlem/App/Views/Shared/Labels/FullyQualifiedLinkView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ struct FullyQualifiedLinkView: View {
let showInstance: Bool
let blurred: Bool

@State private var id = UUID()

init(
entity: (any CommunityOrPersonStub & Profile2Providing)?,
labelStyle: FullyQualifiedLabelStyle,
Expand Down Expand Up @@ -48,5 +50,6 @@ struct FullyQualifiedLinkView: View {
)
}
.buttonStyle(.plain)
.id(id)
}
}
1 change: 1 addition & 0 deletions Mlem/App/Views/Shared/ReplyView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ struct ReplyView: View {
NavigationLink(.post(reply.post)) {
FooterLinkView(title: reply.post.title, subtitle: reply.community.fullNameWithPrefix)
}
.id("\(reply.id)_reply_footer")
InteractionBarView(
reply: reply,
configuration: InteractionBarTracker.main.replyInteractionBar
Expand Down

0 comments on commit 7930852

Please sign in to comment.