Skip to content
Snippets Groups Projects
Commit 5df46b18 authored by Maximilian Betz's avatar Maximilian Betz
Browse files

only git has as version information currently

parent 51ea07b6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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()),
],
),
......
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment