mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
Moved support button to about section
support button is now im the about section
This commit is contained in:
parent
b179d2a945
commit
97dcd8b6e2
@ -63,35 +63,6 @@ class Settings extends HookConsumerWidget {
|
||||
constraints: const BoxConstraints(maxWidth: 1366),
|
||||
child: ListView(
|
||||
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(
|
||||
" Account",
|
||||
style:
|
||||
@ -389,6 +360,35 @@ class Settings extends HookConsumerWidget {
|
||||
style:
|
||||
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(
|
||||
leading: const Icon(Icons.update_rounded),
|
||||
title: const Text("Check for Update"),
|
||||
|
Loading…
Reference in New Issue
Block a user