Skip to content

High performance self-hosted photo and video management solution.

feat(mobile): create shared link for albums (#20652)

Brandon Wees3e92e837f127
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<RemoteAlbumPage> {
context.pop();
await showEditTitleAndDescription(context);
},
+ onCreateSharedLink: () async {
+ context.pop();
+ context.pushRoute(SharedLinkEditRoute(albumId: _album.id));
+ },
);
},
);