update image cache

This commit is contained in:
2026-08-25 20:22:13 +07:00
parent e1eef3d107
commit c1cab60a0b
10 changed files with 107 additions and 164 deletions
-4
View File
@@ -51,10 +51,6 @@ fn main() {
// Sync the theme with the system appearance
Theme::sync_system_appearance(None, cx);
// Install the shared image cache so avatars can be freed when
// their views close, instead of staying in memory forever.
workspace::image_cache::init(cx);
// Initialize backend and stores (connects relays, restores session)
std::fs::create_dir_all(paths::nostr_dir()).ok();
signed_state::init(paths::nostr_dir(), cx);