mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-25 00:14:42 +01:00
Versioning: 53.0
This commit is contained in:
parent
50a44008df
commit
0175a694b1
3 changed files with 22 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
/// Version string shown in settings page
|
/// Version string shown in settings page
|
||||||
const versionStr = "52.0";
|
const versionStr = "53.0";
|
||||||
const version = 520;
|
const version = 530;
|
||||||
|
|
||||||
/// 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);
|
||||||
|
|
|
@ -213,6 +213,24 @@ List<Widget> _buildChangelog520(BuildContext context) {
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
List<Widget> _buildChangelog530(BuildContext context) {
|
||||||
|
return [
|
||||||
|
_subSection("Changes"),
|
||||||
|
_bulletGroup(
|
||||||
|
const Text("New enhancement: auto retouch"),
|
||||||
|
[
|
||||||
|
const Text(
|
||||||
|
"Automatically retouch your photos, improve color and vibrance"),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
_bulletGroup(const Text(
|
||||||
|
"A redesigned enhancement page that is more informative and beautiful")),
|
||||||
|
_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) {
|
||||||
|
@ -269,6 +287,7 @@ Widget _subBulletPoint(Widget child) => Row(
|
||||||
);
|
);
|
||||||
|
|
||||||
final _changelogs = <int, List<Widget> Function(BuildContext)>{
|
final _changelogs = <int, List<Widget> Function(BuildContext)>{
|
||||||
|
530: _buildChangelog530,
|
||||||
520: _buildChangelog520,
|
520: _buildChangelog520,
|
||||||
510: _buildChangelog510,
|
510: _buildChangelog510,
|
||||||
500: _buildChangelog500,
|
500: _buildChangelog500,
|
||||||
|
|
|
@ -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.52.0+5200
|
version: 1.53.0+5300
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.17.0 <3.0.0"
|
sdk: ">=2.17.0 <3.0.0"
|
||||||
|
|
Loading…
Add table
Reference in a new issue