This commit is contained in:
Ming Ming 2024-09-04 00:45:48 +08:00
parent 0e45ff9f2a
commit 450fa97b48
4 changed files with 26 additions and 3 deletions

View file

@ -1,8 +1,8 @@
import 'package:flutter/material.dart';
/// Version string shown in settings page
const versionStr = "67.2";
const version = 672;
const versionStr = "68.0";
const version = 680;
/// Show a snack bar for a short amount of time
const snackBarDurationShort = Duration(seconds: 4);

View file

@ -19,6 +19,7 @@ part 'changelog/changelog_660.dart';
part 'changelog/changelog_662.dart';
part 'changelog/changelog_663.dart';
part 'changelog/changelog_670.dart';
part 'changelog/changelog_680.dart';
class ChangelogArguments {
const ChangelogArguments(this.fromVersion);
@ -355,6 +356,7 @@ Widget _subBulletPoint(Widget child) => Row(
);
final _changelogs = <int, List<Widget> Function(BuildContext)>{
680: (_) => const [_Changelog680()],
670: (_) => const [_Changelog670()],
663: (_) => const [_Changelog663()],
662: (_) => const [_Changelog662()],

View file

@ -0,0 +1,21 @@
part of '../changelog.dart';
class _Changelog680 extends StatelessWidget {
const _Changelog680();
@override
Widget build(BuildContext context) {
return Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
_subSection("Changes"),
_bulletGroup(const Text(
"Fixed some collections not showing up when you are offline")),
_bulletGroup(
const Text("Fixed photos not showing up in a shared album")),
_bulletGroup(const Text("Can now tweak the default time range in Map")),
],
);
}
}

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.67.2+6720
version: 1.68.0+6800
environment:
sdk: ">=3.2.0 <4.0.0"