update image cache
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user