forked from Nexus/nexus
use gomuks for URL previews
This commit is contained in:
parent
16fdf0c420
commit
eca9d3b411
6 changed files with 18 additions and 69 deletions
|
|
@ -273,7 +273,8 @@ class MessageRenderer extends ConsumerWidget {
|
|||
(element) => element is UrlElement,
|
||||
)
|
||||
case final UrlElement link?)
|
||||
UrlPreview(link.url),
|
||||
if (Uri.tryParse(link.url) case final Uri url?)
|
||||
UrlPreview(url),
|
||||
|
||||
ReactionRow(event),
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue