Skip to content

Commit a87c0e7

Browse files
committed
Add link to buymeacoffee for donations
1 parent f4185ef commit a87c0e7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

lib/l10n/app_en.arb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,8 @@
483483
"@aboutTranslationText": {
484484
"description": "Text for translation section in the about dialog"
485485
},
486+
"aboutDonateTitle": "Donate",
487+
"aboutDonateText": "Buy us a coffee to help the project, pay for server costs, and keep us fueled",
486488
"calendar": "Calendar",
487489
"@calendar": {},
488490
"goToToday": "Go to today",

lib/widgets/core/about.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ class AboutEntry extends StatelessWidget {
5959

6060
class AboutPage extends StatefulWidget {
6161
static String routeName = '/AboutPage';
62+
6263
const AboutPage({super.key});
6364

6465
@override
@@ -158,6 +159,13 @@ class _AboutPageState extends State<AboutPage> {
158159
url: 'https://hosted.weblate.org/engage/wger',
159160
icon: const Icon(Icons.translate),
160161
),
162+
const SizedBox(height: 10),
163+
AboutEntry(
164+
title: AppLocalizations.of(context).aboutDonateTitle,
165+
content: AppLocalizations.of(context).aboutDonateText,
166+
url: 'https://www.buymeacoffee.com/wger',
167+
icon: const Icon(FontAwesomeIcons.moneyBill1),
168+
),
161169
ListTile(
162170
leading: const Icon(Icons.article),
163171
title: const Text('View Licenses'),

0 commit comments

Comments
 (0)