From e3370bd26ed0ae2aac68470754f0d94d5d153bf1 Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Sat, 19 Oct 2024 19:20:39 +0800 Subject: [PATCH] 70.0 --- app/lib/k.dart | 4 +-- app/lib/widget/changelog.dart | 2 ++ app/lib/widget/changelog/changelog_700.dart | 27 +++++++++++++++++++++ app/pubspec.yaml | 2 +- 4 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 app/lib/widget/changelog/changelog_700.dart diff --git a/app/lib/k.dart b/app/lib/k.dart index 26b3cd14..6599d1fd 100644 --- a/app/lib/k.dart +++ b/app/lib/k.dart @@ -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); diff --git a/app/lib/widget/changelog.dart b/app/lib/widget/changelog.dart index d0c7dff4..0275b60b 100644 --- a/app/lib/widget/changelog.dart +++ b/app/lib/widget/changelog.dart @@ -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 = Function(BuildContext)>{ + 700: (_) => const [_Changelog700()], 690: (_) => const [_Changelog690()], 680: (_) => const [_Changelog680()], 670: (_) => const [_Changelog670()], diff --git a/app/lib/widget/changelog/changelog_700.dart b/app/lib/widget/changelog/changelog_700.dart new file mode 100644 index 00000000..878d97b6 --- /dev/null +++ b/app/lib/widget/changelog/changelog_700.dart @@ -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"), + ], + ), + ], + ); + } +} diff --git a/app/pubspec.yaml b/app/pubspec.yaml index a9795747..7a48aaa4 100644 --- a/app/pubspec.yaml +++ b/app/pubspec.yaml @@ -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"