mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
Add help doc in new collection dialog
This commit is contained in:
parent
23cf6cacca
commit
06072c262e
2 changed files with 9 additions and 0 deletions
|
@ -11,3 +11,4 @@ const enhanceStyleTransferUrl = "https://bit.ly/3agpTcF";
|
||||||
const enhanceDeepLabColorPopUrl = "https://bit.ly/3Rx0YCD";
|
const enhanceDeepLabColorPopUrl = "https://bit.ly/3Rx0YCD";
|
||||||
const enhanceRetouchUrl = "https://bit.ly/3Ds2cea";
|
const enhanceRetouchUrl = "https://bit.ly/3Ds2cea";
|
||||||
const editPhotosUrl = "https://bit.ly/3v82oKA";
|
const editPhotosUrl = "https://bit.ly/3v82oKA";
|
||||||
|
const collectionTypesUrl = "https://bit.ly/3ML0w3p";
|
||||||
|
|
|
@ -20,10 +20,12 @@ import 'package:nc_photos/entity/nc_album.dart';
|
||||||
import 'package:nc_photos/entity/tag.dart';
|
import 'package:nc_photos/entity/tag.dart';
|
||||||
import 'package:nc_photos/exception_event.dart';
|
import 'package:nc_photos/exception_event.dart';
|
||||||
import 'package:nc_photos/exception_util.dart' as exception_util;
|
import 'package:nc_photos/exception_util.dart' as exception_util;
|
||||||
|
import 'package:nc_photos/help_utils.dart' as help_util;
|
||||||
import 'package:nc_photos/k.dart' as k;
|
import 'package:nc_photos/k.dart' as k;
|
||||||
import 'package:nc_photos/object_extension.dart';
|
import 'package:nc_photos/object_extension.dart';
|
||||||
import 'package:nc_photos/pref.dart';
|
import 'package:nc_photos/pref.dart';
|
||||||
import 'package:nc_photos/toast.dart';
|
import 'package:nc_photos/toast.dart';
|
||||||
|
import 'package:nc_photos/url_launcher_util.dart';
|
||||||
import 'package:nc_photos/widget/album_dir_picker.dart';
|
import 'package:nc_photos/widget/album_dir_picker.dart';
|
||||||
import 'package:nc_photos/widget/processing_dialog.dart';
|
import 'package:nc_photos/widget/processing_dialog.dart';
|
||||||
import 'package:nc_photos/widget/tag_picker_dialog.dart';
|
import 'package:nc_photos/widget/tag_picker_dialog.dart';
|
||||||
|
@ -127,6 +129,12 @@ class _WrappedNewCollectionDialogState
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
actions: [
|
actions: [
|
||||||
|
TextButton(
|
||||||
|
onPressed: () {
|
||||||
|
launch(help_util.collectionTypesUrl);
|
||||||
|
},
|
||||||
|
child: Text(L10n.global().learnMoreButtonLabel),
|
||||||
|
),
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () => _onOkPressed(context),
|
onPressed: () => _onOkPressed(context),
|
||||||
child: Text(MaterialLocalizations.of(context).okButtonLabel),
|
child: Text(MaterialLocalizations.of(context).okButtonLabel),
|
||||||
|
|
Loading…
Reference in a new issue