Remove Toast
and DismissToast
internal actions
This commit is contained in:
parent
2950344c25
commit
b6437d6d9e
4 changed files with 75 additions and 73 deletions
|
@ -443,7 +443,7 @@ impl Copilot {
|
|||
}
|
||||
}
|
||||
|
||||
fn sign_in(&mut self, cx: &mut ModelContext<Self>) -> Task<Result<()>> {
|
||||
pub fn sign_in(&mut self, cx: &mut ModelContext<Self>) -> Task<Result<()>> {
|
||||
if let CopilotServer::Running(server) = &mut self.server {
|
||||
let task = match &server.sign_in_status {
|
||||
SignInStatus::Authorized { .. } | SignInStatus::Unauthorized { .. } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue