From eb52d84526bcf9db9db01548f47afa66ca1747d9 Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Wed, 13 Sep 2023 01:45:26 +0800 Subject: [PATCH] Versioning: 64.0 --- app/lib/k.dart | 4 +- app/lib/widget/changelog.dart | 2 + app/lib/widget/changelog/changelog_640.dart | 41 +++++++++++++++++++++ app/pubspec.yaml | 2 +- 4 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 app/lib/widget/changelog/changelog_640.dart diff --git a/app/lib/k.dart b/app/lib/k.dart index 69aafddf..7c2f1adb 100644 --- a/app/lib/k.dart +++ b/app/lib/k.dart @@ -1,6 +1,6 @@ /// Version string shown in settings page -const versionStr = "63.1"; -const version = 631; +const versionStr = "64.0"; +const version = 640; /// 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 6871091f..36825fe8 100644 --- a/app/lib/widget/changelog.dart +++ b/app/lib/widget/changelog.dart @@ -13,6 +13,7 @@ part 'changelog/changelog_590.dart'; part 'changelog/changelog_600.dart'; part 'changelog/changelog_610.dart'; part 'changelog/changelog_630.dart'; +part 'changelog/changelog_640.dart'; class ChangelogArguments { const ChangelogArguments(this.fromVersion); @@ -349,6 +350,7 @@ Widget _subBulletPoint(Widget child) => Row( ); final _changelogs = Function(BuildContext)>{ + 640: (_) => const [_Changelog640()], 630: (_) => const [_Changelog630()], 610: (_) => const [_Changelog610()], 600: (_) => const [_Changelog600()], diff --git a/app/lib/widget/changelog/changelog_640.dart b/app/lib/widget/changelog/changelog_640.dart new file mode 100644 index 00000000..a023b41e --- /dev/null +++ b/app/lib/widget/changelog/changelog_640.dart @@ -0,0 +1,41 @@ +part of '../changelog.dart'; + +class _Changelog640 extends StatelessWidget { + const _Changelog640(); + + @override + Widget build(BuildContext context) { + return Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + _subSectionHighlight("CRITICAL"), + _bulletGroup( + const Text( + "Fixed a crtical bug where removing an image from a Nextcloud Album will in fact delete it"), + [ + const Text( + "Please check the Trash if you have removed files from a Nextcloud Album before"), + const Text("I sincerely apologize for this critical mistake"), + ], + ), + _subSection("Changes"), + _bulletGroup(const Text( + "Fixed dynamic color (Material You) not applied correctly")), + _bulletGroup(const Text( + "Nextcloud Albums shared with you will now appear in Collections")), + _bulletGroup(const Text("Various UI tweaks and bug fixes")), + _bulletGroup(const Text("Updated Catalan, Italian")), + _sectionPadding(), + _subSection("Contributors"), + _bulletGroup( + const Text("Special thanks to the following contributors \u{1f44f}"), + [ + const Text("Albe"), + const Text("ArnyminerZ"), + ], + ), + ], + ); + } +} diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 69b50be2..621d9716 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.63.1+6310 +version: 1.64.0+6400 environment: sdk: ">=2.17.0 <3.0.0"