Merge pull request #1635 from zed-industries/new-signup-flow

Implement APIs for new signup flow
This commit is contained in:
Max Brunsfeld 2022-09-28 10:08:12 -07:00 committed by GitHub
commit 5d8fe33bd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 2571 additions and 1287 deletions

View file

@ -856,7 +856,7 @@ impl AppState {
let fs = project::FakeFs::new(cx.background().clone());
let languages = Arc::new(LanguageRegistry::test());
let http_client = client::test::FakeHttpClient::with_404_response();
let client = Client::new(http_client.clone());
let client = Client::new(http_client.clone(), cx);
let project_store = cx.add_model(|_| ProjectStore::new(project::Db::open_fake()));
let user_store = cx.add_model(|cx| UserStore::new(client.clone(), http_client, cx));
let themes = ThemeRegistry::new((), cx.font_cache().clone());