mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-21 05:29:29 +02:00
Links in changelog openable
This commit is contained in:
@@ -274,6 +274,18 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
350,
|
350,
|
||||||
child: Markdown(
|
child: Markdown(
|
||||||
data: changeLog,
|
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(
|
extensionSet: md.ExtensionSet(
|
||||||
md.ExtensionSet.gitHubFlavored
|
md.ExtensionSet.gitHubFlavored
|
||||||
.blockSyntaxes,
|
.blockSyntaxes,
|
||||||
|
Reference in New Issue
Block a user