mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Fix asserting when there are favorite files outside roots
This commit is contained in:
parent
0e4411c725
commit
33462d9fec
1 changed files with 0 additions and 1 deletions
|
@ -250,7 +250,6 @@ extension SqliteDbFileExtension on SqliteDb {
|
|||
"isArchived: $isArchived");
|
||||
final rowIds = await _accountFileRowIdsOf(
|
||||
account, fileIds.map(DbFileKey.byId).toList());
|
||||
assert(rowIds.length == fileIds.length);
|
||||
final q = update(accountFiles)
|
||||
..where(
|
||||
(t) => t.rowId.isIn(rowIds.values.map((e) => e.accountFileRowId)));
|
||||
|
|
Loading…
Reference in a new issue