mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Versioning: 57.0
This commit is contained in:
parent
0566dfc1ec
commit
6694149c29
3 changed files with 28 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
/// Version string shown in settings page
|
||||
const versionStr = "56.0";
|
||||
const version = 560;
|
||||
const versionStr = "57.0";
|
||||
const version = 570;
|
||||
|
||||
/// Show a snack bar for a short amount of time
|
||||
const snackBarDurationShort = Duration(seconds: 4);
|
||||
|
|
|
@ -329,6 +329,30 @@ class _Changelog560 extends StatelessWidget {
|
|||
}
|
||||
}
|
||||
|
||||
class _Changelog570 extends StatelessWidget {
|
||||
const _Changelog570();
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
_subSection("Changes"),
|
||||
_bulletGroup(
|
||||
const Text(
|
||||
"Fixed broken enhancements that did nothing or produced weird results"),
|
||||
[
|
||||
const Text("Color pop"),
|
||||
const Text("Low-light enhancement"),
|
||||
const Text("Portrait blur"),
|
||||
],
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// ignore: unused_element
|
||||
class _ChangelogBanner extends StatelessWidget {
|
||||
const _ChangelogBanner({
|
||||
|
@ -427,6 +451,7 @@ Widget _subBulletPoint(Widget child) => Row(
|
|||
);
|
||||
|
||||
final _changelogs = <int, List<Widget> Function(BuildContext)>{
|
||||
570: (_) => const [_Changelog570()],
|
||||
560: (_) => const [_Changelog560()],
|
||||
550: (_) => const [_Changelog550()],
|
||||
540: _buildChangelog540,
|
||||
|
|
|
@ -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.56.0+5600
|
||||
version: 1.57.0+5700
|
||||
|
||||
environment:
|
||||
sdk: ">=2.17.0 <3.0.0"
|
||||
|
|
Loading…
Reference in a new issue