mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-08 17:40:28 +00:00
feat: add thanks item for contributors (#325)
This commit is contained in:
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(),
|
||||
]),
|
||||
)),
|
||||
]),
|
||||
|
||||
Reference in new issue
Block a user