diff --git a/lib/widgets/status/status.dart b/lib/widgets/status/status.dart index d8de241..f5035bb 100644 --- a/lib/widgets/status/status.dart +++ b/lib/widgets/status/status.dart @@ -1,5 +1,6 @@ import 'dart:io'; +import 'package:fluffypix/utils/links_callback.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; @@ -411,12 +412,17 @@ class _StatusWidgetState extends State { '/status/${reply.id}', arguments: reply, ), - title: Html( + subtitle: Html( data: '${reply.account.displayName.isNotEmpty ? reply.account.displayName : reply.account.username}: ${reply.content}', + onLinkTap: (link) => linksCallback(link, context), defaultTextStyle: TextStyle( color: Theme.of(context).textTheme.bodyText1?.color, ), + linkStyle: TextStyle( + color: Theme.of(context).primaryColor, + decoration: TextDecoration.none, + ), ), ), if (widget.replies.isNotEmpty) const SizedBox(height: 8),