mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 08:46:18 +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) {
|
||||
final next = Map.of(value.summary.items);
|
||||
for (final f in files) {
|
||||
final key = f.fdDateTime.toDate();
|
||||
final key = f.fdDateTime.toLocal().toDate();
|
||||
final original = next[key];
|
||||
if (original == null) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue