onboarding: restore demo deck

for some reason it was getting overwritten ?

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-07-10 14:54:48 -07:00
parent b6348b1507
commit 4bdfbc6400
2 changed files with 25 additions and 27 deletions

View File

@@ -426,12 +426,10 @@ impl Damus {
decks_cache
} else {
info!("DecksCache: creating new with demo configuration");
let mut cache = DecksCache::new_with_demo_config(&mut timeline_cache, ctx);
for (pk, _) in &ctx.accounts.cache {
cache.add_deck_default(*pk);
}
cache
DecksCache::new_with_demo_config(&mut timeline_cache, ctx)
//for (pk, _) in &ctx.accounts.cache {
// cache.add_deck_default(*pk);
//}
};
let debug = ctx.args.debug;