diff --git a/lib/services/sync_service.dart b/lib/services/sync_service.dart index 241af953b..ec14731e5 100644 --- a/lib/services/sync_service.dart +++ b/lib/services/sync_service.dart @@ -234,6 +234,8 @@ class SyncService { final uploadedFile = await _uploader.encryptAndUploadFile(file); await _db.update(uploadedFile); } + Bus.instance + .fire(CollectionUpdatedEvent(collectionID: file.collectionID)); Bus.instance.fire(PhotoUploadEvent( completed: i + 1, total: filesToBeUploaded.length)); } catch (e) { diff --git a/lib/ui/collections_gallery_widget.dart b/lib/ui/collections_gallery_widget.dart index 3c4c1296e..4e6e14c6c 100644 --- a/lib/ui/collections_gallery_widget.dart +++ b/lib/ui/collections_gallery_widget.dart @@ -86,7 +86,7 @@ class _CollectionsGalleryWidgetState extends State { ), ), Divider(height: 12), - SectionTitle("Collections"), + SectionTitle("Saved Collections"), Padding(padding: EdgeInsets.all(6)), GridView.builder( shrinkWrap: true, @@ -199,7 +199,7 @@ class _CollectionsGalleryWidgetState extends State { List collections, int index) { if (index == collections.length) { return Container( - padding: EdgeInsets.fromLTRB(28, 0, 28, 56), + padding: EdgeInsets.fromLTRB(28, 12, 28, 46), child: OutlineButton( child: Icon( Icons.add,