From 5df46b184efc5883edcb09d4d7ac766b0f8d75cf Mon Sep 17 00:00:00 2001 From: Maximilian Betz <Maximilian.Betz@awi.de> Date: Fri, 1 Apr 2022 11:08:33 +0200 Subject: [PATCH] only git has as version information currently --- lib/configuration.dart | 1 + lib/overview.dart | 9 ++++----- pubspec.yaml | 3 +-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/configuration.dart b/lib/configuration.dart index 9665dd8..1301311 100644 --- a/lib/configuration.dart +++ b/lib/configuration.dart @@ -262,5 +262,6 @@ class _MyHomePageState extends State<Configuration> { } //TODO: write configuration on app dispose! +//TODO: align bottom buttons nicely! //TODO: add label prefix with appended upcounting number. //TODO: grey out update button if nothing has changed. ? \ No newline at end of file diff --git a/lib/overview.dart b/lib/overview.dart index 819f180..9ff03e5 100644 --- a/lib/overview.dart +++ b/lib/overview.dart @@ -7,8 +7,7 @@ class Overview extends StatelessWidget { Widget _buildPopupInfoDialog(BuildContext context) { return AlertDialog( - title: const Text('Version 1.0.0'), - + title: const Text('Information'), content: Column( mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.center, @@ -16,11 +15,11 @@ class Overview extends StatelessWidget { const Icon( Icons.copyright_outlined), const Text('Alfred Wegener Institute'), const Text('Data-Logistics-Support'), - const SizedBox(height: 10), + const SizedBox(height: 15), const Text('Maximilian Betz'), - const SizedBox(height: 30), + const SizedBox(height: 0), const Text('o2a-support@awi.de'), - const SizedBox(height: 30), + const SizedBox(height: 15), Text('Git-Commit-Hash: ' + getGitHash()), ], ), diff --git a/pubspec.yaml b/pubspec.yaml index 66e8e91..8ea662b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -72,8 +72,7 @@ flutter: - .git/HEAD # This file points out the current branch of the project. - .git/ORIG_HEAD # This file points to the commit id at origin (last commit id of the remote repository). - .git/refs/heads/main - # - images/a_dot_burr.jpeg - # - images/a_dot_ham.jpeg + # An image asset can refer to one or more resolution-specific "variants", see # https://flutter.dev/assets-and-images/#resolution-aware. -- GitLab