Moved support button to about section

support button is now im the about section
This commit is contained in:
Demizo 2022-09-02 23:32:57 -05:00
parent b179d2a945
commit 97dcd8b6e2

View File

@ -63,35 +63,6 @@ class Settings extends HookConsumerWidget {
constraints: const BoxConstraints(maxWidth: 1366), constraints: const BoxConstraints(maxWidth: 1366),
child: ListView( child: ListView(
children: [ children: [
AdaptiveListTile(
leading: const Icon(
Icons.favorite_border_rounded,
color: Colors.pink,
),
title: const AutoSizeText(
"We know you Love Spotube",
maxLines: 1,
style: TextStyle(
color: Colors.pink,
fontWeight: FontWeight.bold,
),
),
trailing: (context, update) => ElevatedButton.icon(
icon: const Icon(Icons.favorite_outline_rounded),
label: const Text("Please Sponsor/Donate"),
style: ElevatedButton.styleFrom(
primary: Colors.red[100],
onPrimary: Colors.pinkAccent,
padding: const EdgeInsets.all(15),
),
onPressed: () {
launchUrlString(
"https://opencollective.com/spotube",
mode: LaunchMode.externalApplication,
);
},
),
),
const Text( const Text(
" Account", " Account",
style: style:
@ -389,6 +360,35 @@ class Settings extends HookConsumerWidget {
style: style:
TextStyle(fontWeight: FontWeight.bold, fontSize: 20), TextStyle(fontWeight: FontWeight.bold, fontSize: 20),
), ),
AdaptiveListTile(
leading: const Icon(
Icons.favorite_border_rounded,
color: Colors.pink,
),
title: const AutoSizeText(
"We know you Love Spotube",
maxLines: 1,
style: TextStyle(
color: Colors.pink,
fontWeight: FontWeight.bold,
),
),
trailing: (context, update) => ElevatedButton.icon(
icon: const Icon(Icons.favorite_outline_rounded),
label: const Text("Please Sponsor/Donate"),
style: ElevatedButton.styleFrom(
primary: Colors.red[100],
onPrimary: Colors.pinkAccent,
padding: const EdgeInsets.all(15),
),
onPressed: () {
launchUrlString(
"https://opencollective.com/spotube",
mode: LaunchMode.externalApplication,
);
},
),
),
ListTile( ListTile(
leading: const Icon(Icons.update_rounded), leading: const Icon(Icons.update_rounded),
title: const Text("Check for Update"), title: const Text("Check for Update"),