Add link to buymeacoffee for donations

This commit is contained in:
Roland Geider
2024-01-11 11:16:49 +01:00
parent f4185efa37
commit a87c0e7063
2 changed files with 10 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ class AboutEntry extends StatelessWidget {
class AboutPage extends StatefulWidget {
static String routeName = '/AboutPage';
const AboutPage({super.key});
@override
@@ -158,6 +159,13 @@ class _AboutPageState extends State<AboutPage> {
url: 'https://hosted.weblate.org/engage/wger',
icon: const Icon(Icons.translate),
),
const SizedBox(height: 10),
AboutEntry(
title: AppLocalizations.of(context).aboutDonateTitle,
content: AppLocalizations.of(context).aboutDonateText,
url: 'https://www.buymeacoffee.com/wger',
icon: const Icon(FontAwesomeIcons.moneyBill1),
),
ListTile(
leading: const Icon(Icons.article),
title: const Text('View Licenses'),