From 3bf1eb4f86daa47e4c612d6779d4d087e1371dda Mon Sep 17 00:00:00 2001 From: realth000 Date: Thu, 7 Dec 2023 21:27:02 +0800 Subject: [PATCH] feat(screens): Add app version to about page --- lib/screens/settings/about_page.dart | 2 +- pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/screens/settings/about_page.dart b/lib/screens/settings/about_page.dart index 4b9254ac..d19f3e65 100644 --- a/lib/screens/settings/about_page.dart +++ b/lib/screens/settings/about_page.dart @@ -12,7 +12,7 @@ class AboutPage extends ConsumerWidget { const AboutPage({super.key}); static const _gitInfo = - '$gitCommitRevisionShort ($gitCommitTimeYear-$gitCommitTimeMonth-$gitCommitTimeDay)'; + '$appVersion-$gitCommitRevisionShort ($gitCommitTimeYear-$gitCommitTimeMonth-$gitCommitTimeDay)'; @override Widget build(BuildContext context, WidgetRef ref) { diff --git a/pubspec.lock b/pubspec.lock index 3c72d428..f94f8dda 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -449,8 +449,8 @@ packages: dependency: "direct main" description: path: "." - ref: "927a949985f131e27f401287e7915b832f24b301" - resolved-ref: "927a949985f131e27f401287e7915b832f24b301" + ref: "4a410c1af875c89c4daeded52530713111ec9244" + resolved-ref: "4a410c1af875c89c4daeded52530713111ec9244" url: "https://github.com/realth000/gitsumu.git" source: git version: "0.0.1" diff --git a/pubspec.yaml b/pubspec.yaml index 64f6e2c3..496b7e43 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -28,7 +28,7 @@ dependencies: gitsumu: git: url: https://github.com/realth000/gitsumu.git - ref: 927a949985f131e27f401287e7915b832f24b301 + ref: 4a410c1af875c89c4daeded52530713111ec9244 go_router: ^12.1.1 hooks_riverpod: ^3.0.0-dev.3 isar: ^4.0.0-dev.14