Versioning: 57.0

This commit is contained in:
Ming Ming 2023-01-05 00:44:30 +08:00
parent 0566dfc1ec
commit 6694149c29
3 changed files with 28 additions and 3 deletions

View file

@ -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);

View file

@ -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 = <int, List<Widget> Function(BuildContext)>{
570: (_) => const [_Changelog570()],
560: (_) => const [_Changelog560()],
550: (_) => const [_Changelog550()],
540: _buildChangelog540,

View file

@ -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"