Threaded layout fixes (#1730)

* Fixes #1727 - Layout issues caused by the new timelineMediaFrame

* Better handle small media thumbnails

* fixed an issue where sometimes the reply gets greedier than the content

---------

Co-authored-by: Mauro Romito <mauro.romito@element.io>
This commit is contained in:
Stefan Ceriu
2023-09-18 13:12:35 +03:00
committed by GitHub
parent fd6711bbc7
commit aff3b781ad
2 changed files with 14 additions and 3 deletions
@@ -29,7 +29,7 @@ struct ImageRoomTimelineView: View {
placeholder
}
.timelineMediaFrame(height: timelineItem.content.height,
aspectRatio: timelineItem.content.height)
aspectRatio: timelineItem.content.aspectRatio)
.accessibilityElement(children: .ignore)
.accessibilityLabel(L10n.commonImage)
}