From cfb2da01188f057c9bb36c5a07427c9a9da647e2 Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Mon, 10 Jun 2024 00:21:13 +0800 Subject: [PATCH] 66.0 --- app/lib/k.dart | 4 +- app/lib/widget/changelog.dart | 2 + app/lib/widget/changelog/changelog_660.dart | 43 +++++++++++++++++++++ app/pubspec.yaml | 2 +- 4 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 app/lib/widget/changelog/changelog_660.dart diff --git a/app/lib/k.dart b/app/lib/k.dart index 5cec87ae..06fa4e39 100644 --- a/app/lib/k.dart +++ b/app/lib/k.dart @@ -1,6 +1,6 @@ /// Version string shown in settings page -const versionStr = "65.0"; -const version = 650; +const versionStr = "66.0"; +const version = 660; /// 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 94db88bb..b085e2a3 100644 --- a/app/lib/widget/changelog.dart +++ b/app/lib/widget/changelog.dart @@ -15,6 +15,7 @@ part 'changelog/changelog_610.dart'; part 'changelog/changelog_630.dart'; part 'changelog/changelog_640.dart'; part 'changelog/changelog_650.dart'; +part 'changelog/changelog_660.dart'; class ChangelogArguments { const ChangelogArguments(this.fromVersion); @@ -351,6 +352,7 @@ Widget _subBulletPoint(Widget child) => Row( ); final _changelogs = Function(BuildContext)>{ + 660: (_) => const [_Changelog660()], 650: (_) => const [_Changelog650()], 640: (_) => const [_Changelog640()], 630: (_) => const [_Changelog630()], diff --git a/app/lib/widget/changelog/changelog_660.dart b/app/lib/widget/changelog/changelog_660.dart new file mode 100644 index 00000000..a9bc634a --- /dev/null +++ b/app/lib/widget/changelog/changelog_660.dart @@ -0,0 +1,43 @@ +part of '../changelog.dart'; + +class _Changelog660 extends StatelessWidget { + const _Changelog660(); + + @override + Widget build(BuildContext context) { + return Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + _subSectionHighlight("CRITICAL"), + _bulletGroup(const Text("Android 5.0 is no longer supported")), + _bulletGroup(const Text("Sort by name is no longer supported in the new photos timeline, please contact me if you wish to downgrade")), + _subSection("Changes"), + _bulletGroup(const Text("Drastically improve performance when dealing with large amount of photos")), + _bulletGroup(const Text("Rewrite photos timeline and files handling from scratch for better performance")), + _bulletGroup(const Text("Support live photos taken with Google Pixel")), + _bulletGroup(const Text("Now it's possible to set a secondary theme color")), + _bulletGroup( + const Text("App lock"), + [ + const Text("Require extra authentication when opening app"), + const Text("WARNING: This is NOT a security feature, it will NOT make the app more secure against attackers"), + ], + ), + _bulletGroup(const Text("Multiple bug fixes and UI tweaks")), + _bulletGroup(const Text("Updated Chinese (Simplified), Czech, Turkish")), + _sectionPadding(), + _subSection("Contributors"), + _bulletGroup( + const Text("Special thanks to the following contributors \u{1f44f}"), + [ + const Text("Çeviren"), + const Text("Fjuro"), + const Text("tenJirka"), + const Text("老兄"), + ], + ), + ], + ); + } +} diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 07dd50ef..249d1df1 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.65.0+6500 +version: 1.66.0+6600 environment: sdk: ">=3.2.0 <4.0.0"