Versioning: 59.0

This commit is contained in:
Ming Ming 2023-05-22 00:51:11 +08:00
parent 8ff2cac0c3
commit 12172bb83c
4 changed files with 33 additions and 3 deletions

View file

@ -1,6 +1,6 @@
/// Version string shown in settings page
const versionStr = "58.0";
const version = 580;
const versionStr = "59.0";
const version = 590;
/// Show a snack bar for a short amount of time
const snackBarDurationShort = Duration(seconds: 4);

View file

@ -9,6 +9,7 @@ part 'changelog/changelog_550.dart';
part 'changelog/changelog_560.dart';
part 'changelog/changelog_570.dart';
part 'changelog/changelog_580.dart';
part 'changelog/changelog_590.dart';
class ChangelogArguments {
const ChangelogArguments(this.fromVersion);
@ -345,6 +346,7 @@ Widget _subBulletPoint(Widget child) => Row(
);
final _changelogs = <int, List<Widget> Function(BuildContext)>{
590: (_) => const [_Changelog590()],
580: (_) => const [_Changelog580()],
570: (_) => const [_Changelog570()],
560: (_) => const [_Changelog560()],

View file

@ -0,0 +1,28 @@
part of '../changelog.dart';
class _Changelog590 extends StatelessWidget {
const _Changelog590();
@override
Widget build(BuildContext context) {
return Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
_subSection("Changes"),
_bulletGroup(
const Text("Now support Nextcloud 25 album"),
[
const Text(
"Collaborative album is NOT yet supported. It will be added in future updates"),
],
),
_bulletGroup(const Text(
"Collections code were largely rewritten. If you encountered any bugs, please report them via Settings > Report issue")),
_sectionPadding(),
_subSection("Localization"),
_bulletGroup(const Text("Updated Finnish (by pHamala)")),
],
);
}
}

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.58.0+5800
version: 1.59.0+5900
environment:
sdk: ">=2.17.0 <3.0.0"