Skip to content

armgit / ente

Public Imported from GitHub
0

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

Minor fix

AmanRajSinghMourya0c57b21221f4
diff --git a/mobile/apps/locker/lib/ui/pages/collection_page.dart b/mobile/apps/locker/lib/ui/pages/collection_page.dart
index 99e588072f..958d3a46c3 100644
--- a/mobile/apps/locker/lib/ui/pages/collection_page.dart
+++ b/mobile/apps/locker/lib/ui/pages/collection_page.dart
@@ -147,15 +147,7 @@ class _CollectionPageState extends UploaderPageState<CollectionPage>
}
Future<void> _deleteCollection() async {
- await CollectionActions.deleteCollection(
- context,
- _collection,
- onSuccess: () {
- if (mounted) {
- Navigator.of(context).pop();
- }
- },
- );
+ await CollectionActions.deleteCollection(context, _collection);
}
Future<void> _editCollection() async {