Spoiled links do not cut off properly in DM preview

(#1908) Bug Fixed mobile

Observed behaviour

The link wraps as if word wrap is enabled, spilling over the next DM in the list.

Reproduction steps

  1. Send any long link, wrapped in spoiler || tags.
  2. Observe the message preview in the list of recent DMs.

Build information

Version 1.0.0, Beta 33, Channel Beta, Build 2169, Android 17 (arm64), Device Google Pixel 9a, Locale en-US, Push unifiedpush, Flutter 3.44.6, Dart 3.12.2

Platform

Android

Details

Expected behaviour The link gets cut off with ....
  • image.png

    image.png

    888×604 | 110 kB

  1. Rex changed the status from Needs triage to Fixed

3 comments

Sign in with Fluxer to comment and vote.
Comment by mesub
mesubMod 1 vote
Can reproduce CR: Version 1.0.0, Beta 34, Channel Beta, Build 2170, Android 15 (arm64), Device OnePlus CPH2465, Locale en-GB, Push unifiedpush, Flutter 3.44.6, Dart 3.12.2
Comment by ternera
terneraMod 1 vote
Can reproduce CR - Version 1.0.0, Beta 36, Channel Beta, Build 40, iOS 26.5.2 (arm64), Device iPhone16,1, Locale en-US, Push apns, Flutter 3.44.6, Dart 3.12.2
Comment by Emman
Emman 1 vote
Can reproduce CR - Version 1.0.0, Beta 36, Channel Beta, Build 40, iOS 26.5.2 (arm64), Device iPhone14,5, Locale en-US, Push apns, Flutter 3.44.6, Dart 3.12.2