mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Move timeline item tap gestures to the items themselves instead of the bubbled styler (#3553)
* Stop observing the timeline context where not necessary. * Rename the timeline `itemTapped` action to `mediaTapped`
This commit is contained in:
@@ -204,7 +204,7 @@ private struct LoadableImageContent<TransformerView: View, PlaceholderView: View
|
||||
ZStack {
|
||||
Color.black.opacity(0.6)
|
||||
.contentShape(.rect)
|
||||
.onTapGesture { /* Empty gesture to block the itemTapped action */ }
|
||||
.onTapGesture { /* Empty gesture to block the `mediaTapped` action */ }
|
||||
|
||||
// Don't use a real Button as it sometimes triggers simultaneously with the long press gesture.
|
||||
Text(L10n.actionShow)
|
||||
|
||||
Reference in New Issue
Block a user