From 3e92e837f127e2c37e6c71acfbd23c9ba93840f4 Mon Sep 17 00:00:00 2001 From: Brandon Wees Date: Mon, 4 Aug 2025 20:51:45 -0500 Subject: [PATCH] feat(mobile): create shared link for albums (#20652) * feat(mobile): create shared link for albums * translation --------- Co-authored-by: Alex --- i18n/en.json | 1 + mobile/lib/presentation/pages/drift_remote_album.page.dart | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/i18n/en.json b/i18n/en.json index a66c3faa9a..d5d02db7d3 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -724,6 +724,7 @@ "create_new_user": "Create new user", "create_shared_album_page_share_add_assets": "ADD ASSETS", "create_shared_album_page_share_select_photos": "Select Photos", + "create_shared_link": "Create shared link", "create_tag": "Create tag", "create_tag_description": "Create a new tag. For nested tags, please enter the full path of the tag including forward slashes.", "create_user": "Create user", diff --git a/mobile/lib/presentation/pages/drift_remote_album.page.dart b/mobile/lib/presentation/pages/drift_remote_album.page.dart index f1f1cfda92..5922841607 100644 --- a/mobile/lib/presentation/pages/drift_remote_album.page.dart +++ b/mobile/lib/presentation/pages/drift_remote_album.page.dart @@ -200,6 +200,10 @@ class _RemoteAlbumPageState extends ConsumerState { context.pop(); await showEditTitleAndDescription(context); }, + onCreateSharedLink: () async { + context.pop(); + context.pushRoute(SharedLinkEditRoute(albumId: _album.id)); + }, ); }, );