mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Versioning: 56.0
This commit is contained in:
parent
346ad2a028
commit
635a3c5c83
3 changed files with 40 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
/// Version string shown in settings page
|
/// Version string shown in settings page
|
||||||
const versionStr = "55.2";
|
const versionStr = "56.0";
|
||||||
const version = 552;
|
const version = 560;
|
||||||
|
|
||||||
/// 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);
|
||||||
|
|
|
@ -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
|
// ignore: unused_element
|
||||||
class _ChangelogBanner extends StatelessWidget {
|
class _ChangelogBanner extends StatelessWidget {
|
||||||
const _ChangelogBanner({
|
const _ChangelogBanner({
|
||||||
|
@ -391,6 +427,7 @@ Widget _subBulletPoint(Widget child) => Row(
|
||||||
);
|
);
|
||||||
|
|
||||||
final _changelogs = <int, List<Widget> Function(BuildContext)>{
|
final _changelogs = <int, List<Widget> Function(BuildContext)>{
|
||||||
|
560: (_) => const [_Changelog560()],
|
||||||
550: (_) => const [_Changelog550()],
|
550: (_) => const [_Changelog550()],
|
||||||
540: _buildChangelog540,
|
540: _buildChangelog540,
|
||||||
530: _buildChangelog530,
|
530: _buildChangelog530,
|
||||||
|
|
|
@ -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.55.2+5520
|
version: 1.56.0+5600
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.17.0 <3.0.0"
|
sdk: ">=2.17.0 <3.0.0"
|
||||||
|
|
Loading…
Reference in a new issue