fix(StatusMessageHeader): unbreak context menu (#16965)

- when clicking the underlined profile name; the prob was that
`TapHandler` (unlike a `MouseArea`) is not a visual `Item` and hence
can't be a parent for the context menu
- small (unrelated) typo fix to unbreak GIF link previews...

Fixes #16950
This commit is contained in:
Lukáš Tinkl 2024-12-13 19:43:21 +01:00 committed by GitHub
parent a4925eb23a
commit 0eb29c64e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ Item {
}
TapHandler {
enabled: root.displayNameClickable
onSingleTapped: root.clicked(this)
onSingleTapped: root.clicked(primaryDisplayName)
}
}

View File

@ -91,7 +91,7 @@ Flow {
Repeater {
id: tempRepeater
visible: root.cankToUnfurlGifs
visible: root.canAskToUnfurlGifs
model: root.gifUnfurlingEnabled ? gifLinks : []
delegate: LinkPreviewGifDelegate {