This commit is contained in:
Ming Ming 2024-08-10 22:27:53 +08:00
parent 01f6febf22
commit b352ca2d3c
5 changed files with 50 additions and 4 deletions

View file

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

View file

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

View file

@ -32,7 +32,7 @@ class _Changelog660 extends StatelessWidget {
_bulletGroup(
const Text("Special thanks to the following contributors \u{1f44f}"),
[
const Text("Çeviren"),
const Text("Ali Yasin Yeşilyaprak"),
const Text("Fjuro"),
const Text("tenJirka"),
const Text("老兄"),

View file

@ -0,0 +1,44 @@
part of '../changelog.dart';
class _Changelog670 extends StatelessWidget {
const _Changelog670();
@override
Widget build(BuildContext context) {
return Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
_subSection("Changes"),
_bulletGroup(const Text("Added map view")),
_bulletGroup(
const Text(
"Added new experimental HTTP engine with HTTP/2 and HTTP/3 QUIC support"),
[
const Text("Enable it in Settings > Advanced"),
],
),
_bulletGroup(
const Text("Overhaul slideshow viewer with improved control")),
_bulletGroup(const Text(
"Can now add new self-signed cert without adding a new account")),
_bulletGroup(
const Text("Added self-signed cert manager to remove old certs"),
[
const Text("Settings > Advanced > Manage trusted certificates"),
],
),
_bulletGroup(const Text("Multiple UI tweaks")),
_sectionPadding(),
_subSection("Contributors"),
_bulletGroup(
const Text("Special thanks to the following contributors \u{1f44f}"),
[
const Text("Ali Yasin Yeşilyaprak"),
const Text("Niclas H"),
],
),
],
);
}
}

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.66.3+6630
version: 1.67.0+6700
environment:
sdk: ">=3.2.0 <4.0.0"