show git commit in about dialog
This commit is contained in:
parent
64a8edda7d
commit
a63d182c50
7 changed files with 42 additions and 34 deletions
|
|
@ -33,7 +33,9 @@ extension ShowAboutDialog on BuildContext {
|
|||
"Nexus",
|
||||
style: Theme.of(context).textTheme.headlineMedium,
|
||||
),
|
||||
Text("(${packageInfo.version})"),
|
||||
Text(
|
||||
"(${packageInfo.version}+${const String.fromEnvironment("GIT_COMMIT", defaultValue: "dev")})",
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue