This commit is contained in:
Ming Ming 2024-10-19 19:20:39 +08:00
parent c19faa47a0
commit e3370bd26e
4 changed files with 32 additions and 3 deletions

View file

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

View file

@ -21,6 +21,7 @@ part 'changelog/changelog_663.dart';
part 'changelog/changelog_670.dart';
part 'changelog/changelog_680.dart';
part 'changelog/changelog_690.dart';
part 'changelog/changelog_700.dart';
class ChangelogArguments {
const ChangelogArguments(this.fromVersion);
@ -357,6 +358,7 @@ Widget _subBulletPoint(Widget child) => Row(
);
final _changelogs = <int, List<Widget> Function(BuildContext)>{
700: (_) => const [_Changelog700()],
690: (_) => const [_Changelog690()],
680: (_) => const [_Changelog680()],
670: (_) => const [_Changelog670()],

View file

@ -0,0 +1,27 @@
part of '../changelog.dart';
class _Changelog700 extends StatelessWidget {
const _Changelog700();
@override
Widget build(BuildContext context) {
return Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
_subSection("Changes"),
_bulletGroup(const Text("Updated Czech, German, Spanish")),
_sectionPadding(),
_subSection("Contributors"),
_bulletGroup(
const Text("Special thanks to the following contributors \u{1f44f}"),
[
const Text("Fjuro"),
const Text("luckkmaxx"),
const Text("Niclas Heinz"),
],
),
],
);
}
}

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.69.1+6910
version: 1.70.0+7000
environment:
sdk: ">=3.4.0 <4.0.0"