add go to releases action

This commit is contained in:
niuhuan 2021-11-19 10:09:20 +08:00
parent 06232e4d01
commit 1e7b0df0df
1 changed files with 20 additions and 1 deletions

View File

@ -197,6 +197,25 @@ class _AboutScreenState extends State<AboutScreen> {
],
);
}
return Container();
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Divider(),
Container(
padding: EdgeInsets.all(15),
child: Text.rich(
TextSpan(
text: "去RELEASE仓库",
style: TextStyle(
height: 1.3,
color: Theme.of(context).colorScheme.primary,
),
recognizer: TapGestureRecognizer()
..onTap = () => openUrl(_releasesUrl),
),
),
),
],
);
}
}