Links in changelog openable

This commit is contained in:
Imran Remtulla
2023-03-19 12:49:43 -04:00
parent f1fc43a3e7
commit 48d2532323

View File

@@ -274,6 +274,18 @@ class AppsPageState extends State<AppsPage> {
350,
child: Markdown(
data: changeLog,
onTapLink: (text, href, title) {
if (href != null) {
launchUrlString(
href.startsWith('http://') ||
href.startsWith(
'https://')
? href
: '${Uri.parse(listedApps[index].app.url).origin}/$href',
mode: LaunchMode
.externalApplication);
}
},
extensionSet: md.ExtensionSet(
md.ExtensionSet.gitHubFlavored
.blockSyntaxes,