Files
com.wisp.app/app
Barry Deen e9cdb7f579 fix: avoid intrinsic measurement of chat bubble content (SubcomposeLayout crash)
Opening a group room or DM whose visible messages contained a media
carousel crashed with:

  IllegalStateException: Asking for intrinsic measurements of
  SubcomposeLayout layouts is not supported.

The message-bubble content Column used Modifier.width(IntrinsicSize.Max),
which forces an intrinsic-width measurement of every child. One child is
RichContent, which can render MediaCarousel (a BoxWithConstraints +
HorizontalPager). Those are SubcomposeLayout-based and cannot answer
intrinsic queries, so the measure pass threw.

Remove IntrinsicSize.Max from the group and DM bubble columns and let
the bubble hug its content. The received-message header row no longer
fills width (which would otherwise balloon every bubble to max width
without the intrinsic sizing); the sender name uses widthIn(max) so long
names still ellipsize.
2026-06-18 11:42:12 -04:00
..
2026-06-05 17:14:58 -04:00