Hide EventContent contentLabel if no text

This commit is contained in:
miruka 2019-09-14 00:56:38 -04:00
parent 451038641e
commit 45b6714bcb
2 changed files with 4 additions and 0 deletions

View File

@ -1,10 +1,13 @@
- Media - Media
- Caching - Caching
- Downloading - Downloading
- GIF thumbnails: load the real animated image
- Files, links, video, audio - Files, links, video, audio
- Encrypted media - Encrypted media
- Loading animation - Loading animation
- RoomMessageNotice
- Refactoring - Refactoring
- Room header elide detection - Room header elide detection
- Use HBox for Profile - Use HBox for Profile

View File

@ -105,6 +105,7 @@ Row {
HSelectableLabel { HSelectableLabel {
id: contentLabel id: contentLabel
visible: Boolean(eventContent.eventText)
width: parent.width width: parent.width
container: selectableLabelContainer container: selectableLabelContainer
index: model.index index: model.index