This commit is contained in:
Ming Ming 2024-06-10 00:21:13 +08:00
parent 1143173534
commit cfb2da0118
4 changed files with 48 additions and 3 deletions

View file

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

View file

@ -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 = <int, List<Widget> Function(BuildContext)>{
660: (_) => const [_Changelog660()],
650: (_) => const [_Changelog650()],
640: (_) => const [_Changelog640()],
630: (_) => const [_Changelog630()],

View file

@ -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("老兄"),
],
),
],
);
}
}

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.65.0+6500
version: 1.66.0+6600
environment:
sdk: ">=3.2.0 <4.0.0"