From aac86d8590ebbc8e549ff61033f075e74345845b Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Sun, 14 Jan 2024 23:56:45 +0800 Subject: [PATCH] 65.0 --- app/lib/k.dart | 4 +-- app/lib/widget/changelog.dart | 2 ++ app/lib/widget/changelog/changelog_650.dart | 31 +++++++++++++++++++++ app/pubspec.yaml | 2 +- 4 files changed, 36 insertions(+), 3 deletions(-) create mode 100644 app/lib/widget/changelog/changelog_650.dart diff --git a/app/lib/k.dart b/app/lib/k.dart index 7c2f1adb..5cec87ae 100644 --- a/app/lib/k.dart +++ b/app/lib/k.dart @@ -1,6 +1,6 @@ /// Version string shown in settings page -const versionStr = "64.0"; -const version = 640; +const versionStr = "65.0"; +const version = 650; /// 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 36825fe8..9408942d 100644 --- a/app/lib/widget/changelog.dart +++ b/app/lib/widget/changelog.dart @@ -14,6 +14,7 @@ part 'changelog/changelog_600.dart'; part 'changelog/changelog_610.dart'; part 'changelog/changelog_630.dart'; part 'changelog/changelog_640.dart'; +part 'changelog/changelog_650.dart'; class ChangelogArguments { const ChangelogArguments(this.fromVersion); @@ -350,6 +351,7 @@ Widget _subBulletPoint(Widget child) => Row( ); final _changelogs = Function(BuildContext)>{ + 650: (_) => const [_Changelog650()], 640: (_) => const [_Changelog640()], 630: (_) => const [_Changelog630()], 610: (_) => const [_Changelog610()], diff --git a/app/lib/widget/changelog/changelog_650.dart b/app/lib/widget/changelog/changelog_650.dart new file mode 100644 index 00000000..143653ca --- /dev/null +++ b/app/lib/widget/changelog/changelog_650.dart @@ -0,0 +1,31 @@ +part of '../changelog.dart'; + +class _Changelog650 extends StatelessWidget { + const _Changelog650(); + + @override + Widget build(BuildContext context) { + return Column( + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + _subSection("Changes"), + _bulletGroup(const Text("Various UI tweaks and bug fixes")), + _bulletGroup(const Text("Updated Catalan, Czech, Finnish, French, German, Polish")), + _sectionPadding(), + _subSection("Contributors"), + _bulletGroup( + const Text("Special thanks to the following contributors \u{1f44f}"), + [ + const Text("ArnyminerZ"), + const Text("Fjuro"), + const Text("Fymyte"), + const Text("pHamala"), + const Text("shagn"), + const Text("Shieldziak"), + ], + ), + ], + ); + } +} diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 73f91457..f781896f 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.64.0+6400 +version: 1.65.0+6500 environment: sdk: ">=2.17.0 <3.0.0"