Versioning: 64.0

This commit is contained in:
Ming Ming 2023-09-13 01:45:26 +08:00
parent 56195ed380
commit eb52d84526
4 changed files with 46 additions and 3 deletions

View file

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

View file

@ -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 = <int, List<Widget> Function(BuildContext)>{
640: (_) => const [_Changelog640()],
630: (_) => const [_Changelog630()],
610: (_) => const [_Changelog610()],
600: (_) => const [_Changelog600()],

View file

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

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.63.1+6310
version: 1.64.0+6400
environment:
sdk: ">=2.17.0 <3.0.0"