From 6694149c2976d9637a2e804d75cd037042256970 Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Thu, 5 Jan 2023 00:44:30 +0800 Subject: [PATCH] Versioning: 57.0 --- app/lib/k.dart | 4 ++-- app/lib/widget/changelog.dart | 25 +++++++++++++++++++++++++ app/pubspec.yaml | 2 +- 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/app/lib/k.dart b/app/lib/k.dart index edb3179c..69213ef9 100644 --- a/app/lib/k.dart +++ b/app/lib/k.dart @@ -1,6 +1,6 @@ /// Version string shown in settings page -const versionStr = "56.0"; -const version = 560; +const versionStr = "57.0"; +const version = 570; /// Show a snack bar for a short amount of time const snackBarDurationShort = Duration(seconds: 4); diff --git a/app/lib/widget/changelog.dart b/app/lib/widget/changelog.dart index 26219139..f6462da2 100644 --- a/app/lib/widget/changelog.dart +++ b/app/lib/widget/changelog.dart @@ -329,6 +329,30 @@ class _Changelog560 extends StatelessWidget { } } +class _Changelog570 extends StatelessWidget { + const _Changelog570(); + + @override + Widget build(BuildContext context) { + return Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + _subSection("Changes"), + _bulletGroup( + const Text( + "Fixed broken enhancements that did nothing or produced weird results"), + [ + const Text("Color pop"), + const Text("Low-light enhancement"), + const Text("Portrait blur"), + ], + ), + ], + ); + } +} + // ignore: unused_element class _ChangelogBanner extends StatelessWidget { const _ChangelogBanner({ @@ -427,6 +451,7 @@ Widget _subBulletPoint(Widget child) => Row( ); final _changelogs = Function(BuildContext)>{ + 570: (_) => const [_Changelog570()], 560: (_) => const [_Changelog560()], 550: (_) => const [_Changelog550()], 540: _buildChangelog540, diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 03a5dda6..9197d336 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.56.0+5600 +version: 1.57.0+5700 environment: sdk: ">=2.17.0 <3.0.0"