mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-26 08:54:42 +01:00
Fix cached datetime not updated in DB
This commit is contained in:
parent
c0e3efab16
commit
576d8dafc8
1 changed files with 4 additions and 1 deletions
|
@ -459,7 +459,10 @@ class FileSqliteDbDataSource implements FileDataSource {
|
|||
_log.info("[updateProperty] ${f.path}");
|
||||
await _c.sqliteDb.use((db) async {
|
||||
final rowIds = await db.accountFileRowIdsOf(f, appAccount: account);
|
||||
if (isArchived != null || overrideDateTime != null || favorite != null) {
|
||||
if (isArchived != null ||
|
||||
overrideDateTime != null ||
|
||||
favorite != null ||
|
||||
metadata != null) {
|
||||
final update = sql.AccountFilesCompanion(
|
||||
isArchived: isArchived == null
|
||||
? const sql.Value.absent()
|
||||
|
|
Loading…
Add table
Reference in a new issue