fix: code refractor
This commit is contained in:
@@ -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(() => {});
|
||||
|
||||
Reference in New Issue
Block a user