Fix clear image caches don't optimize the sqlite database

This commit is contained in:
2024-05-30 11:10:03 +08:00
parent 7f033570b3
commit b7dbca4311

View File

@@ -270,6 +270,7 @@ class ImageCaches {
offset += records.length;
} while (records.isNotEmpty);
await _db!.delete("images");
await _optimize();
_size = 0;
}
}