feat: add thanks item for contributors (#325)

This commit is contained in:
Levi authored and GitHub committed 2024-01-16 19:02:20 +08:00
1 parent 3a542054fc
commit 922ef969a6
7 files changed
+28

No files matched your search

@@ -365,6 +365,18 @@ class SettingView extends GetView<SettingController> {
);
}
buildThanks() {
const thankPage =
'https://github.com/GopeedLab/gopeed/graphs/contributors';
return ListTile(
title: Text('thanks'.tr),
subtitle: Text('thanksDesc'.tr),
onTap: () {
launchUrl(Uri.parse(thankPage), mode: LaunchMode.externalApplication);
},
);
}
// advanced config proxy items start
final buildProxy = _buildConfigItem(
'proxy',
@@ -702,6 +714,7 @@ class SettingView extends GetView<SettingController> {
children: _addDivider([
buildHomepage(),
buildVersion(),
buildThanks(),
]),
)),
]),