image-cache: migrate storage

This commit is contained in:
kieran
2025-01-09 20:40:35 +00:00
parent 06417ff69e
commit eaa9b3ae4c
2 changed files with 39 additions and 0 deletions

View File

@@ -207,6 +207,9 @@ impl Notedeck {
let tabs = Tabs::new(None);
let app_rect_handler = AppSizeHandler::new(&path);
// migrate
img_cache.migrate_v0().expect("img-cache migration");
Self {
ndb,
img_cache,