chore: do not humanize links

This commit is contained in:
Krille 2023-05-23 08:22:34 +02:00
commit ec9aff28c8
5 changed files with 5 additions and 0 deletions

View file

@ -241,6 +241,7 @@ class MessageContent extends StatelessWidget {
decoration:
event.redacted ? TextDecoration.lineThrough : null,
),
options: const LinkifyOptions(humanize: false),
linkStyle: TextStyle(
color: textColor.withAlpha(150),
fontSize: bigEmotes ? fontSize * 3 : fontSize,

View file

@ -108,6 +108,7 @@ class PinnedEvents extends StatelessWidget {
withSenderNamePrefix: true,
hideReply: true,
),
options: const LinkifyOptions(humanize: false),
maxLines: 2,
style: TextStyle(
color: