From 08dec43304bc988fbc97594e7dd4550ad52bdbda Mon Sep 17 00:00:00 2001 From: Feichtmeier Date: Fri, 1 Nov 2024 17:46:21 +0100 Subject: [PATCH] fix: changelog links are unclickable Fixes #992 --- lib/patch_notes/patch_notes_dialog.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/patch_notes/patch_notes_dialog.dart b/lib/patch_notes/patch_notes_dialog.dart index 64b931ccd..634b1d388 100644 --- a/lib/patch_notes/patch_notes_dialog.dart +++ b/lib/patch_notes/patch_notes_dialog.dart @@ -32,6 +32,12 @@ class _PatchNotesDialogState extends State { future: _markdown, builder: (context, snapshot) => snapshot.hasData ? MarkdownBody( + onTapLink: (text, href, title) { + if (href == null) return; + final uri = Uri.tryParse(href); + if (uri == null) return; + launchUrl(uri); + }, data: snapshot.data!, ) : const Center(