Move UI for copilot sign in to copilot_button

This commit is contained in:
Piotr Osiewicz 2024-01-05 15:58:45 +01:00
parent f7a036e952
commit 3e8e1c6404
7 changed files with 11 additions and 6 deletions

View file

@ -1,6 +1,4 @@
pub mod request;
mod sign_in;
use anyhow::{anyhow, Context as _, Result};
use async_compression::futures::bufread::GzipDecoder;
use async_tar::Archive;
@ -98,7 +96,6 @@ pub fn init(
})
.detach();
sign_in::init(cx);
cx.on_action(|_: &SignIn, cx| {
if let Some(copilot) = Copilot::global(cx) {
copilot