Load profiles everywhere

Fixes: #11
Changelog-Fixed: Missing profiles are now loaded everywhere
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2022-08-04 20:42:18 -07:00
parent 17f87d5438
commit 5c62a06618
6 changed files with 98 additions and 17 deletions

View File

@@ -70,7 +70,7 @@ struct SearchHomeView_Previews: PreviewProvider {
let state = test_damus_state()
SearchHomeView(
damus_state: state,
model: SearchHomeModel(pool: state.pool)
model: SearchHomeModel(pool: state.pool, profiles: state.profiles)
)
}
}