Versioning: 54.0

This commit is contained in:
Ming Ming 2022-10-01 12:39:32 +08:00
parent e28b38bd25
commit 5243e300fb
3 changed files with 14 additions and 3 deletions

View file

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

View file

@ -231,6 +231,16 @@ List<Widget> _buildChangelog530(BuildContext context) {
]; ];
} }
List<Widget> _buildChangelog540(BuildContext context) {
return [
_subSection("Changes"),
_bulletGroup(const Text("Performance tweaks")),
_sectionPadding(),
_subSection("Localization"),
_bulletGroup(const Text("Updated Spanish (by luckkmaxx)")),
];
}
List<Widget> _buildChangelogCompat(BuildContext context, int majorVersion) { List<Widget> _buildChangelogCompat(BuildContext context, int majorVersion) {
var change = _oldChangelogs[majorVersion - 1]; var change = _oldChangelogs[majorVersion - 1];
if (change != null) { if (change != null) {
@ -287,6 +297,7 @@ Widget _subBulletPoint(Widget child) => Row(
); );
final _changelogs = <int, List<Widget> Function(BuildContext)>{ final _changelogs = <int, List<Widget> Function(BuildContext)>{
540: _buildChangelog540,
530: _buildChangelog530, 530: _buildChangelog530,
520: _buildChangelog520, 520: _buildChangelog520,
510: _buildChangelog510, 510: _buildChangelog510,

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. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at # Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.53.1+5310 version: 1.54.0+5400
environment: environment:
sdk: ">=2.17.0 <3.0.0" sdk: ">=2.17.0 <3.0.0"