This commit is contained in:
otsmr 2025-06-01 16:58:32 +02:00
parent 5451a1fe89
commit 602443eea8

View file

@ -1,7 +1,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart'; // import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:twonly/src/views/settings/subscription/voucher.view.dart'; import 'package:twonly/src/views/settings/subscription/voucher.view.dart';
import 'package:url_launcher/url_launcher.dart'; // import 'package:url_launcher/url_launcher.dart';
class RefundCreditsView extends StatefulWidget { class RefundCreditsView extends StatefulWidget {
const RefundCreditsView({super.key, required this.formattedBalance}); const RefundCreditsView({super.key, required this.formattedBalance});
@ -41,34 +41,34 @@ class _RefundCreditsViewState extends State<RefundCreditsView> {
Navigator.pop(context, false); Navigator.pop(context, false);
}, },
), ),
ListTile( // ListTile(
title: Text("Spend to an Open Source Project"), // title: Text("Spend to an Open Source Project"),
onTap: () async {}, // onTap: () async {},
), // ),
ListTile( // ListTile(
title: Text("Spend to an NGO"), // title: Text("Spend to an NGO"),
onTap: () async {}, // onTap: () async {},
), // ),
ListTile( // ListTile(
title: Text("Spend to twonly"), // title: Text("Spend to twonly"),
onTap: () async {}, // onTap: () async {},
), // ),
Divider(), // Divider(),
ListTile( // ListTile(
title: Text( // title: Text(
"Learn more about your donation", // "Learn more about your donation",
), // ),
subtitle: Text( // subtitle: Text(
"This will open our webpage which will provide you more informations where we will donate your remaining ballance if you choose this option.", // "This will open our webpage which will provide you more informations where we will donate your remaining ballance if you choose this option.",
), // ),
onTap: () { // onTap: () {
launchUrl(Uri.parse("https://twonly.eu/de/donation/")); // launchUrl(Uri.parse("https://twonly.eu/de/donation/"));
}, // },
trailing: FaIcon( // trailing: FaIcon(
FontAwesomeIcons.arrowUpRightFromSquare, // FontAwesomeIcons.arrowUpRightFromSquare,
size: 15, // size: 15,
), // ),
), // ),
], ],
), ),
), ),