From 97dcd8b6e2ef4a1f6e14a9501e0df5146e1ed637 Mon Sep 17 00:00:00 2001 From: Demizo <73141750+Demizo@users.noreply.github.com> Date: Fri, 2 Sep 2022 23:32:57 -0500 Subject: [PATCH] Moved support button to about section support button is now im the about section --- lib/components/Settings/Settings.dart | 58 +++++++++++++-------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/lib/components/Settings/Settings.dart b/lib/components/Settings/Settings.dart index 3346de56..9bc35839 100644 --- a/lib/components/Settings/Settings.dart +++ b/lib/components/Settings/Settings.dart @@ -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"),