mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:44:05 +00:00
don't allow tap on reply details in pinned timeline
This commit is contained in:
@@ -200,7 +200,9 @@ struct TimelineItemBubbledStylerView<Content: View>: View {
|
|||||||
.cornerRadius(8)
|
.cornerRadius(8)
|
||||||
.layoutPriority(TimelineBubbleLayout.Priority.visibleQuote)
|
.layoutPriority(TimelineBubbleLayout.Priority.visibleQuote)
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
context.send(viewAction: .focusOnEventID(replyDetails.eventID))
|
if context.viewState.timelineKind != .pinned {
|
||||||
|
context.send(viewAction: .focusOnEventID(replyDetails.eventID))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add a fixed width reply bubble that is used for layout calculations but won't be rendered.
|
// Add a fixed width reply bubble that is used for layout calculations but won't be rendered.
|
||||||
|
|||||||
Reference in New Issue
Block a user