mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-25 08:24:43 +01:00
Fix items may not be removed from summary stream due to tz
This commit is contained in:
parent
01697b6fbb
commit
ecb69d1c29
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ class FilesController {
|
||||||
_summaryStreamController.addWithValue((value) {
|
_summaryStreamController.addWithValue((value) {
|
||||||
final next = Map.of(value.summary.items);
|
final next = Map.of(value.summary.items);
|
||||||
for (final f in files) {
|
for (final f in files) {
|
||||||
final key = f.fdDateTime.toDate();
|
final key = f.fdDateTime.toLocal().toDate();
|
||||||
final original = next[key];
|
final original = next[key];
|
||||||
if (original == null) {
|
if (original == null) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Reference in a new issue