diff --git a/app/lib/help_utils.dart b/app/lib/help_utils.dart index 0218dfcf..23567dd8 100644 --- a/app/lib/help_utils.dart +++ b/app/lib/help_utils.dart @@ -8,3 +8,4 @@ const enhanceZeroDceUrl = "https://bit.ly/3wKJcm9"; const enhanceDeepLabPortraitBlurUrl = "https://bit.ly/3wIuXy6"; const enhanceEsrganUrl = "https://bit.ly/3wO0NJP"; const enhanceStyleTransferUrl = "https://bit.ly/3agpTcF"; +const editPhotosUrl = "https://bit.ly/3v82oKA"; diff --git a/app/lib/widget/image_editor.dart b/app/lib/widget/image_editor.dart index ae936085..9079da4a 100644 --- a/app/lib/widget/image_editor.dart +++ b/app/lib/widget/image_editor.dart @@ -6,11 +6,13 @@ import 'package:nc_photos/app_localizations.dart'; import 'package:nc_photos/cache_manager_util.dart'; import 'package:nc_photos/double_extension.dart'; import 'package:nc_photos/entity/file.dart'; +import 'package:nc_photos/help_utils.dart' as help_util; import 'package:nc_photos/iterable_extension.dart'; import 'package:nc_photos/k.dart' as k; import 'package:nc_photos/object_extension.dart'; import 'package:nc_photos/pixel_image_provider.dart'; import 'package:nc_photos/theme.dart'; +import 'package:nc_photos/url_launcher_util.dart'; import 'package:nc_photos/widget/handler/permission_handler.dart'; import 'package:nc_photos/widget/stateful_slider.dart'; import 'package:nc_photos_plugin/nc_photos_plugin.dart'; @@ -139,6 +141,13 @@ class _ImageEditorState extends State { tooltip: L10n.global().saveTooltip, onPressed: () => _onSavePressed(context), ), + IconButton( + icon: const Icon(Icons.help_outline), + tooltip: L10n.global().helpTooltip, + onPressed: () { + launch(help_util.editPhotosUrl); + }, + ), ], );