mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-08 18:28:53 +01:00
Format code
This commit is contained in:
parent
8f8175604f
commit
c99fc16aa0
1 changed files with 9 additions and 6 deletions
|
@ -57,7 +57,7 @@ class FileWebdavDataSource implements FileDataSource {
|
||||||
customProperties: [
|
customProperties: [
|
||||||
"app:metadata",
|
"app:metadata",
|
||||||
"app:is-archived",
|
"app:is-archived",
|
||||||
"app:override-date-time"
|
"app:override-date-time",
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -443,11 +443,14 @@ class FileSqliteDbDataSource implements FileDataSource {
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
updateProperty(Account account, File f,
|
updateProperty(
|
||||||
{OrNull<Metadata>? metadata,
|
Account account,
|
||||||
|
File f, {
|
||||||
|
OrNull<Metadata>? metadata,
|
||||||
OrNull<bool>? isArchived,
|
OrNull<bool>? isArchived,
|
||||||
OrNull<DateTime>? overrideDateTime,
|
OrNull<DateTime>? overrideDateTime,
|
||||||
bool? favorite}) async {
|
bool? favorite,
|
||||||
|
}) async {
|
||||||
_log.info("[updateProperty] ${f.path}");
|
_log.info("[updateProperty] ${f.path}");
|
||||||
await _c.sqliteDb.use((db) async {
|
await _c.sqliteDb.use((db) async {
|
||||||
final rowIds = await db.accountFileRowIdsOf(f, appAccount: account);
|
final rowIds = await db.accountFileRowIdsOf(f, appAccount: account);
|
||||||
|
|
Loading…
Reference in a new issue