This commit is contained in:
Ming Ming 2024-10-30 00:45:16 +08:00
parent 7dcaf30352
commit 0c78419c72
4 changed files with 37 additions and 3 deletions

View file

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

View file

@ -22,6 +22,7 @@ part 'changelog/changelog_670.dart';
part 'changelog/changelog_680.dart';
part 'changelog/changelog_690.dart';
part 'changelog/changelog_700.dart';
part 'changelog/changelog_710.dart';
// Compatibility with flutter 3.22
typedef WidgetStateProperty = MaterialStateProperty;
@ -363,6 +364,7 @@ Widget _subBulletPoint(Widget child) => Row(
);
final _changelogs = <int, List<Widget> Function(BuildContext)>{
710: (_) => const [_Changelog710()],
700: (_) => const [_Changelog700()],
690: (_) => const [_Changelog690()],
680: (_) => const [_Changelog680()],

View file

@ -0,0 +1,32 @@
part of '../changelog.dart';
class _Changelog710 extends StatelessWidget {
const _Changelog710();
@override
Widget build(BuildContext context) {
return Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
_subSection("Changes"),
_bulletGroup(
const Text("Now support customizing buttons in the viewer"),
[
const Text("Settings > Viewer > Customize app bar"),
const Text("Settings > Viewer > Customize bottom app bar"),
],
),
_bulletGroup(
const Text(
"Now support customizing the navigation bar in Collections"),
[
const Text("Settings > Collections > Customize navigation bar"),
],
),
_bulletGroup(const Text("Relocated Map, it's now inside Collections")),
_bulletGroup(const Text("Various bug fixes")),
],
);
}
}

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.70.0+7000
version: 1.71.0+7100
environment:
sdk: ">=3.3.0 <4.0.0"