summaryrefslogtreecommitdiff
path: root/player-android/lib/router.dart
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-21 23:09:56 +0300
committerPaul Buetow <paul@buetow.org>2026-05-21 23:09:56 +0300
commitb33983f51c96db1d1b9e4e18d1478a3a993beb03 (patch)
tree371cdf91e60f3e50ce6441f3322aba9c6e21522d /player-android/lib/router.dart
parent5ca68ad6430b968039003926aefa98f268f129b0 (diff)
Implement MySharesScreen with revoke/copy-link actions reachable from Settings (8b)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'player-android/lib/router.dart')
-rw-r--r--player-android/lib/router.dart7
1 files changed, 7 insertions, 0 deletions
diff --git a/player-android/lib/router.dart b/player-android/lib/router.dart
index e9a441e..03f14bc 100644
--- a/player-android/lib/router.dart
+++ b/player-android/lib/router.dart
@@ -16,6 +16,7 @@ import 'screens/media_grid_screen.dart';
import 'screens/podcast_list_screen.dart';
import 'screens/settings_screen.dart';
import 'screens/share_screen.dart';
+import 'screens/my_shares_screen.dart';
import 'screens/notes_editor_screen.dart';
import 'screens/video_player_screen.dart';
@@ -180,6 +181,12 @@ final routerProvider = Provider<GoRouter>((ref) {
return NotesEditorScreen(mediaId: mediaId);
},
),
+ GoRoute(
+ // My Shares — lists all share links created by the authenticated user.
+ // Reachable from the Settings screen.
+ path: AppRoutes.shares,
+ builder: (context, state) => const MySharesScreen(),
+ ),
],
);
});