Skip to content

Commit

Permalink
Fix clear image caches don't optimize the sqlite database
Browse files Browse the repository at this point in the history
  • Loading branch information
lifegpc committed May 30, 2024
1 parent 7f03357 commit b7dbca4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/platform/image_cache_io.dart
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ class ImageCaches {
offset += records.length;
} while (records.isNotEmpty);
await _db!.delete("images");
await _optimize();
_size = 0;
}
}

0 comments on commit b7dbca4

Please sign in to comment.