diff --git a/app/lib/k.dart b/app/lib/k.dart index 50063b96..6372723c 100644 --- a/app/lib/k.dart +++ b/app/lib/k.dart @@ -1,6 +1,6 @@ /// Version string shown in settings page -const versionStr = "51.1"; -const version = 511; +const versionStr = "52.0"; +const version = 520; /// 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 94b383e3..a82a9c68 100644 --- a/app/lib/widget/changelog.dart +++ b/app/lib/widget/changelog.dart @@ -190,6 +190,29 @@ List _buildChangelog510(BuildContext context) { ]; } +List _buildChangelog520(BuildContext context) { + return [ + _subSection("Changes"), + _bulletGroup(const Text( + "New option to share a reduced quality preview instead of the original file")), + _bulletGroup(const Text( + "Support saving enhanced/edited photos directly on the server")), + _bulletGroup( + const Text("Image enhancements"), + [ + const Text("Added color pop"), + const Text("Improved portrait blur in scenes with multiple objects"), + ], + ), + _bulletGroup( + const Text("Image editor"), + [ + const Text("Fixed changing image orientation may flip the image"), + ], + ), + ]; +} + List _buildChangelogCompat(BuildContext context, int majorVersion) { var change = _oldChangelogs[majorVersion - 1]; if (change != null) { @@ -246,6 +269,7 @@ Widget _subBulletPoint(Widget child) => Row( ); final _changelogs = Function(BuildContext)>{ + 520: _buildChangelog520, 510: _buildChangelog510, 500: _buildChangelog500, 480: _buildChangelog480, diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 1095fdf2..c04ad154 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.51.1+5110 +version: 1.52.0+5200 environment: sdk: ">=2.17.0 <3.0.0"