Refresh only the relevant collection
This commit is contained in:
parent
ba46ce23ad
commit
5523733d85
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,9 @@ class _CollectionPageState extends State<CollectionPage> {
|
|||
? DateTime.now().microsecondsSinceEpoch
|
||||
: lastFile.creationTime,
|
||||
limit),
|
||||
reloadEvent: Bus.instance.on<CollectionUpdatedEvent>(),
|
||||
reloadEvent: Bus.instance
|
||||
.on<CollectionUpdatedEvent>()
|
||||
.where((event) => event.collectionID == widget.collection.id),
|
||||
tagPrefix: "collection",
|
||||
selectedFiles: _selectedFiles,
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue