Versioning: 56.0

This commit is contained in:
Ming Ming 2023-01-01 16:59:10 +08:00
parent 346ad2a028
commit 635a3c5c83
3 changed files with 40 additions and 3 deletions

View file

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

View file

@ -293,6 +293,42 @@ class _Changelog550 extends StatelessWidget {
}
}
class _Changelog560 extends StatelessWidget {
const _Changelog560();
@override
Widget build(BuildContext context) {
return Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
_subSection("Changes"),
_bulletGroup(
const Text(
"Fixed files moved on server are sometimes not indexed by the app"),
[
const Text.rich(TextSpan(
children: [
TextSpan(
text:
"If you were affected by this, please clear the corrupted local database in "),
TextSpan(
text: "Settings > Advanced > Clear file database",
style: TextStyle(
fontStyle: FontStyle.italic,
fontWeight: FontWeight.bold,
),
),
],
)),
],
),
_bulletGroup(const Text("Added a loop button to the video player")),
],
);
}
}
// ignore: unused_element
class _ChangelogBanner extends StatelessWidget {
const _ChangelogBanner({
@ -391,6 +427,7 @@ Widget _subBulletPoint(Widget child) => Row(
);
final _changelogs = <int, List<Widget> Function(BuildContext)>{
560: (_) => const [_Changelog560()],
550: (_) => const [_Changelog550()],
540: _buildChangelog540,
530: _buildChangelog530,

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.55.2+5520
version: 1.56.0+5600
environment:
sdk: ">=2.17.0 <3.0.0"