mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-19 18:34:17 +08:00
Fix clear image caches don't optimize the sqlite database
This commit is contained in:
@@ -270,6 +270,7 @@ class ImageCaches {
|
||||
offset += records.length;
|
||||
} while (records.isNotEmpty);
|
||||
await _db!.delete("images");
|
||||
await _optimize();
|
||||
_size = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user