Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix: code refractor

Aman Raj Singh Mourya93d6f586601c
diff --git a/mobile/lib/ui/sharing/album_participants_page.dart b/mobile/lib/ui/sharing/album_participants_page.dart
index e51f436844..0f28dd5b7a 100644
--- a/mobile/lib/ui/sharing/album_participants_page.dart
+++ b/mobile/lib/ui/sharing/album_participants_page.dart
@@ -54,7 +54,7 @@ class _AlbumParticipantsPageState extends State<AlbumParticipantsPage> {
Future<void> _navigateToAddUser(bool addingViewer) async {
await routeToPage(
context,
- AddParticipantPage(widget.collection as List<Collection>, addingViewer),
+ AddParticipantPage([widget.collection], addingViewer),
);
if (mounted) {
setState(() => {});