mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
Fix adding items to uninited collections did not update the items count
This commit is contained in:
parent
c81c80a272
commit
c20f2441ef
1 changed files with 2 additions and 0 deletions
|
@ -118,6 +118,8 @@ class CollectionItemsController {
|
||||||
if (toAdd.isEmpty) {
|
if (toAdd.isEmpty) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
_countStreamController
|
||||||
|
.addWithValue((value) => (value ?? 0) + files.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
ExceptionEvent? error;
|
ExceptionEvent? error;
|
||||||
|
|
Loading…
Reference in a new issue