Versioning: 58.0

This commit is contained in:
Ming Ming 2023-03-30 00:59:28 +08:00
parent edebc64824
commit 380f71fe5f
3 changed files with 27 additions and 3 deletions

View file

@ -1,6 +1,6 @@
/// Version string shown in settings page
const versionStr = "57.0";
const version = 570;
const versionStr = "58.0";
const version = 580;
/// Show a snack bar for a short amount of time
const snackBarDurationShort = Duration(seconds: 4);

View file

@ -353,6 +353,29 @@ class _Changelog570 extends StatelessWidget {
}
}
class _Changelog580 extends StatelessWidget {
const _Changelog580();
@override
Widget build(BuildContext context) {
return Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
_subSection("Changes"),
_bulletGroup(const Text(
"Themed icon on Android 13+ (contributed by fischer-felix)")),
_bulletGroup(const Text("Various bugfixes and UI improvements")),
_sectionPadding(),
_subSection("Localization"),
_bulletGroup(const Text("Updated Czech (by Fjuro)")),
_bulletGroup(const Text("Updated Portuguese (by fernosan)")),
_bulletGroup(const Text("Updated Spanish (by luckkmaxx)")),
],
);
}
}
// ignore: unused_element
class _ChangelogBanner extends StatelessWidget {
const _ChangelogBanner({
@ -451,6 +474,7 @@ Widget _subBulletPoint(Widget child) => Row(
);
final _changelogs = <int, List<Widget> Function(BuildContext)>{
580: (_) => const [_Changelog580()],
570: (_) => const [_Changelog570()],
560: (_) => const [_Changelog560()],
550: (_) => const [_Changelog550()],

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.57.0+5700
version: 1.58.0+5800
environment:
sdk: ">=2.17.0 <3.0.0"