From 29901100078fc86f765a70f63616022e031da9f2 Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Sat, 10 Dec 2022 03:04:31 +0800 Subject: [PATCH] Versioning: 55.0 --- app/lib/k.dart | 4 +-- app/lib/widget/changelog.dart | 52 +++++++++++++++++++++++++++++++++++ app/pubspec.yaml | 2 +- 3 files changed, 55 insertions(+), 3 deletions(-) diff --git a/app/lib/k.dart b/app/lib/k.dart index 2e35244f..dda1c049 100644 --- a/app/lib/k.dart +++ b/app/lib/k.dart @@ -1,6 +1,6 @@ /// Version string shown in settings page -const versionStr = "54.0"; -const version = 540; +const versionStr = "55.0"; +const version = 550; /// 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 f0fc65c8..bd7ed52b 100644 --- a/app/lib/widget/changelog.dart +++ b/app/lib/widget/changelog.dart @@ -240,6 +240,57 @@ List _buildChangelog540(BuildContext context) { ]; } +class _Changelog550 extends StatelessWidget { + const _Changelog550(); + + @override + Widget build(BuildContext context) { + return Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + _subSection("Changes"), + _bulletGroup( + const Text("Reworked app theme for Material 3"), + [ + const Text( + "You can now customize the app color in Settings > Theme"), + ], + ), + _bulletGroup( + const Text("Optimized startup performance with large libraries"), + [ + const Text("Completely reworked how the app handles file data"), + const Text( + "Loading a large library should take less time, especially on devices with slower storage I/O"), + ], + ), + _bulletGroup( + const Text("Migrated to Nextcloud login flow (by @steffenmalisi)"), + [ + const Text("Great thanks to @steffenmalisi!"), + ], + ), + _bulletGroup( + const Text("Lots of bug fixes, notably,"), + [ + const Text("Unresponsive video player control"), + const Text( + "Broken EXIF support for HEIC files created by Samsung devices"), + const Text("EXIF date time not updating correctly"), + const Text( + "Thanks @invario, @luckkmaxx, @wonx1 for their bug reports!"), + ], + ), + _sectionPadding(), + _subSection("Localization"), + _bulletGroup(const Text("Updated Finnish (by pHamala)")), + _bulletGroup(const Text("Updated Spanish (by luckkmaxx)")), + ], + ); + } +} + // ignore: unused_element class _ChangelogBanner extends StatelessWidget { const _ChangelogBanner({ @@ -338,6 +389,7 @@ Widget _subBulletPoint(Widget child) => Row( ); final _changelogs = Function(BuildContext)>{ + 550: (_) => const [_Changelog550()], 540: _buildChangelog540, 530: _buildChangelog530, 520: _buildChangelog520, diff --git a/app/pubspec.yaml b/app/pubspec.yaml index a89a7641..aa579bbf 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.54.0+5400 +version: 1.55.0+5500 environment: sdk: ">=2.17.0 <3.0.0"