From a6e3b0b368ebe92a09f0310b12368c5d8cd39b51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Harrault?= <benoit@harrault.fr>
Date: Wed, 14 Feb 2024 17:05:16 +0100
Subject: [PATCH] Move global parameters to bottom of settings page

---
 android/gradle.properties                         | 4 ++--
 fastlane/metadata/android/en-US/changelogs/24.txt | 1 +
 fastlane/metadata/android/fr-FR/changelogs/24.txt | 1 +
 lib/ui/widgets/parameters.dart                    | 7 ++++---
 pubspec.yaml                                      | 2 +-
 5 files changed, 9 insertions(+), 6 deletions(-)
 create mode 100644 fastlane/metadata/android/en-US/changelogs/24.txt
 create mode 100644 fastlane/metadata/android/fr-FR/changelogs/24.txt

diff --git a/android/gradle.properties b/android/gradle.properties
index 3487476..c2a871a 100644
--- a/android/gradle.properties
+++ b/android/gradle.properties
@@ -1,5 +1,5 @@
 org.gradle.jvmargs=-Xmx1536M
 android.useAndroidX=true
 android.enableJetifier=true
-app.versionName=0.0.23
-app.versionCode=23
+app.versionName=0.0.24
+app.versionCode=24
diff --git a/fastlane/metadata/android/en-US/changelogs/24.txt b/fastlane/metadata/android/en-US/changelogs/24.txt
new file mode 100644
index 0000000..f062679
--- /dev/null
+++ b/fastlane/metadata/android/en-US/changelogs/24.txt
@@ -0,0 +1 @@
+Move global parameters in bottom of settings page.
diff --git a/fastlane/metadata/android/fr-FR/changelogs/24.txt b/fastlane/metadata/android/fr-FR/changelogs/24.txt
new file mode 100644
index 0000000..4ffa1a9
--- /dev/null
+++ b/fastlane/metadata/android/fr-FR/changelogs/24.txt
@@ -0,0 +1 @@
+Déplacement des paramètres globaux en bas de page.
diff --git a/lib/ui/widgets/parameters.dart b/lib/ui/widgets/parameters.dart
index 3c79260..e334834 100644
--- a/lib/ui/widgets/parameters.dart
+++ b/lib/ui/widgets/parameters.dart
@@ -91,6 +91,10 @@ class Parameters extends StatelessWidget {
       lines.add(SizedBox(height: separatorHeight));
     });
 
+    lines.add(SizedBox(height: separatorHeight));
+    lines.add(buildStartNewGameButton());
+    lines.add(SizedBox(height: separatorHeight));
+
     // Global settings
     DefaultGlobalSettings.availableParameters.forEach((code) {
       lines.add(Row(
@@ -104,9 +108,6 @@ class Parameters extends StatelessWidget {
       lines.add(SizedBox(height: separatorHeight));
     });
 
-    lines.add(SizedBox(height: separatorHeight));
-    lines.add(buildStartNewGameButton());
-
     return Column(
       children: lines,
     );
diff --git a/pubspec.yaml b/pubspec.yaml
index 2f2f682..9ab963d 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -3,7 +3,7 @@ description: Jeweled Game
 
 publish_to: 'none'
 
-version: 0.0.23+23
+version: 0.0.24+24
 
 environment:
   sdk: '^3.0.0'
-- 
GitLab