fix: code refractor

This commit is contained in:
Aman Raj Singh Mourya
2025-05-16 14:22:53 +05:30
parent 7b145f0898
commit 93d6f58660

View File

@@ -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(() => {});