Versioning: 60.0

This commit is contained in:
Ming Ming 2023-07-29 17:25:34 +08:00
parent 86bf630c84
commit 4740cc2ac5
4 changed files with 45 additions and 3 deletions

View file

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

View file

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

View file

@ -0,0 +1,40 @@
part of '../changelog.dart';
class _Changelog600 extends StatelessWidget {
const _Changelog600();
@override
Widget build(BuildContext context) {
return Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
_subSection("Changes"),
_bulletGroup(
const Text("Now support faces provided by the Recognize app"),
[
const Text("You can switch between providers in Account settings"),
],
),
_bulletGroup(
const Text("Dynamic color theme support (Material You)"),
[
const Text(
"Please tap USER SYSTEM COLOR in the theme color dialog"),
],
),
_bulletGroup(const Text(
"Replace the zoom slider with zoom/pinch gestures when browsing a collection")),
_bulletGroup(const Text("Fixed a visual glitch in image viewer")),
_bulletGroup(const Text("Various UI tweaks and bug fixes")),
_sectionPadding(),
_subSection("Localization"),
_bulletGroup(const Text("Added Dutch (by Micha)")),
_bulletGroup(const Text("Added Italian (by Albe)")),
_bulletGroup(const Text("Updated Finnish (by pHamala)")),
_bulletGroup(const Text("Updated German (by Andreas and Sebastian)")),
_bulletGroup(const Text("Updated Spanish (by luckkmaxx)")),
],
);
}
}

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.59.1+5910
version: 1.60.0+6000
environment:
sdk: ">=2.17.0 <3.0.0"