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: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:url_launcher/url_launcher.dart';
// import 'package:url_launcher/url_launcher.dart';
class RefundCreditsView extends StatefulWidget {
const RefundCreditsView({super.key, required this.formattedBalance});
@ -41,34 +41,34 @@ class _RefundCreditsViewState extends State<RefundCreditsView> {
Navigator.pop(context, false);
},
),
ListTile(
title: Text("Spend to an Open Source Project"),
onTap: () async {},
),
ListTile(
title: Text("Spend to an NGO"),
onTap: () async {},
),
ListTile(
title: Text("Spend to twonly"),
onTap: () async {},
),
Divider(),
ListTile(
title: Text(
"Learn more about your donation",
),
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.",
),
onTap: () {
launchUrl(Uri.parse("https://twonly.eu/de/donation/"));
},
trailing: FaIcon(
FontAwesomeIcons.arrowUpRightFromSquare,
size: 15,
),
),
// ListTile(
// title: Text("Spend to an Open Source Project"),
// onTap: () async {},
// ),
// ListTile(
// title: Text("Spend to an NGO"),
// onTap: () async {},
// ),
// ListTile(
// title: Text("Spend to twonly"),
// onTap: () async {},
// ),
// Divider(),
// ListTile(
// title: Text(
// "Learn more about your donation",
// ),
// 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.",
// ),
// onTap: () {
// launchUrl(Uri.parse("https://twonly.eu/de/donation/"));
// },
// trailing: FaIcon(
// FontAwesomeIcons.arrowUpRightFromSquare,
// size: 15,
// ),
// ),
],
),
),