mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
72.0
This commit is contained in:
parent
9d20e2cf74
commit
0fd40bd2d3
4 changed files with 66 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
/// Version string shown in settings page
|
/// Version string shown in settings page
|
||||||
const versionStr = "71.0";
|
const versionStr = "72.0";
|
||||||
const version = 710;
|
const version = 720;
|
||||||
|
|
||||||
/// 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);
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
import 'package:nc_photos/app_localizations.dart';
|
import 'package:nc_photos/app_localizations.dart';
|
||||||
|
import 'package:nc_photos/help_utils.dart' as help_util;
|
||||||
|
import 'package:nc_photos/url_launcher_util.dart';
|
||||||
import 'package:np_codegen/np_codegen.dart';
|
import 'package:np_codegen/np_codegen.dart';
|
||||||
import 'package:np_ui/np_ui.dart';
|
import 'package:np_ui/np_ui.dart';
|
||||||
|
|
||||||
|
@ -23,6 +25,7 @@ part 'changelog/changelog_680.dart';
|
||||||
part 'changelog/changelog_690.dart';
|
part 'changelog/changelog_690.dart';
|
||||||
part 'changelog/changelog_700.dart';
|
part 'changelog/changelog_700.dart';
|
||||||
part 'changelog/changelog_710.dart';
|
part 'changelog/changelog_710.dart';
|
||||||
|
part 'changelog/changelog_720.dart';
|
||||||
|
|
||||||
// Compatibility with flutter 3.22
|
// Compatibility with flutter 3.22
|
||||||
typedef WidgetStateProperty = MaterialStateProperty;
|
typedef WidgetStateProperty = MaterialStateProperty;
|
||||||
|
@ -364,6 +367,7 @@ Widget _subBulletPoint(Widget child) => Row(
|
||||||
);
|
);
|
||||||
|
|
||||||
final _changelogs = <int, List<Widget> Function(BuildContext)>{
|
final _changelogs = <int, List<Widget> Function(BuildContext)>{
|
||||||
|
720: (_) => const [_Changelog720()],
|
||||||
710: (_) => const [_Changelog710()],
|
710: (_) => const [_Changelog710()],
|
||||||
700: (_) => const [_Changelog700()],
|
700: (_) => const [_Changelog700()],
|
||||||
690: (_) => const [_Changelog690()],
|
690: (_) => const [_Changelog690()],
|
||||||
|
|
59
app/lib/widget/changelog/changelog_720.dart
Normal file
59
app/lib/widget/changelog/changelog_720.dart
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
part of '../changelog.dart';
|
||||||
|
|
||||||
|
class _Changelog720 extends StatelessWidget {
|
||||||
|
const _Changelog720();
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Column(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
_subSection("Changes"),
|
||||||
|
_bulletGroup(
|
||||||
|
const Text(
|
||||||
|
"\"Album\" and \"Nextcloud album\" are renamed to \"Client side album\" and \"Server side album\""),
|
||||||
|
[
|
||||||
|
Align(
|
||||||
|
alignment: AlignmentDirectional.centerStart,
|
||||||
|
child: InkWell(
|
||||||
|
onTap: () {
|
||||||
|
launch(help_util.collectionTypesUrl);
|
||||||
|
},
|
||||||
|
child: Text(
|
||||||
|
"Learn more about their differences",
|
||||||
|
style: TextStyle(
|
||||||
|
color: Theme.of(context).colorScheme.primary,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
_bulletGroup(
|
||||||
|
const Text("Client side album now supports adding an inline map")),
|
||||||
|
_bulletGroup(
|
||||||
|
const Text(
|
||||||
|
"On Nextcloud 28+, app will now read metadata from the server instead of extracting it ourselves"),
|
||||||
|
[
|
||||||
|
const Text(
|
||||||
|
"Image formats not yet supported by Nextcloud will continue to use the client side method"),
|
||||||
|
const Text(
|
||||||
|
"Geolocation is done on client side so the background service will continue to run"),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
_bulletGroup(const Text("Updated French, Turkish")),
|
||||||
|
_sectionPadding(),
|
||||||
|
_subSection("Contributors"),
|
||||||
|
_bulletGroup(
|
||||||
|
const Text("Special thanks to the following contributors \u{1f44f}"),
|
||||||
|
[
|
||||||
|
const Text("Ali Yasin Yeşilyaprak"),
|
||||||
|
const Text("Choukajohn"),
|
||||||
|
const Text("Corentin Noël"),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
],
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
|
@ -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.71.0+7100
|
version: 1.72.0+7200
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.3.0 <4.0.0"
|
sdk: ">=3.3.0 <4.0.0"
|
||||||
|
|
Loading…
Reference in a new issue