Versioning: 55.0

This commit is contained in:
Ming Ming 2022-12-10 03:04:31 +08:00
parent a84dd389ef
commit 2990110007
3 changed files with 55 additions and 3 deletions

View file

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

View file

@ -240,6 +240,57 @@ List<Widget> _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 = <int, List<Widget> Function(BuildContext)>{
550: (_) => const [_Changelog550()],
540: _buildChangelog540,
530: _buildChangelog530,
520: _buildChangelog520,

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.54.0+5400
version: 1.55.0+5500
environment:
sdk: ">=2.17.0 <3.0.0"