From 635a3c5c83bcfaee02ea540fd4bf5823ba6caecb Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Sun, 1 Jan 2023 16:59:10 +0800 Subject: [PATCH] Versioning: 56.0 --- app/lib/k.dart | 4 ++-- app/lib/widget/changelog.dart | 37 +++++++++++++++++++++++++++++++++++ app/pubspec.yaml | 2 +- 3 files changed, 40 insertions(+), 3 deletions(-) diff --git a/app/lib/k.dart b/app/lib/k.dart index d6335c1e..edb3179c 100644 --- a/app/lib/k.dart +++ b/app/lib/k.dart @@ -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); diff --git a/app/lib/widget/changelog.dart b/app/lib/widget/changelog.dart index 28c232b2..26219139 100644 --- a/app/lib/widget/changelog.dart +++ b/app/lib/widget/changelog.dart @@ -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 = Function(BuildContext)>{ + 560: (_) => const [_Changelog560()], 550: (_) => const [_Changelog550()], 540: _buildChangelog540, 530: _buildChangelog530, diff --git a/app/pubspec.yaml b/app/pubspec.yaml index 33086e21..03a5dda6 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.55.2+5520 +version: 1.56.0+5600 environment: sdk: ">=2.17.0 <3.0.0"