Remove 'Destructive' prompts (#11631)
While these would match how macOS handles this scenario, they crash on Catalina, and require mouse clicks to interact. cc @bennetbo Release Notes: - N/A
This commit is contained in:
parent
901cb8b3d2
commit
0c2d71f1ac
5 changed files with 4 additions and 14 deletions
|
@ -334,7 +334,7 @@ impl PickerDelegate for NewPathDelegate {
|
|||
if exists {
|
||||
self.should_dismiss = false;
|
||||
let answer = cx.prompt(
|
||||
gpui::PromptLevel::Destructive,
|
||||
gpui::PromptLevel::Critical,
|
||||
&format!("{} already exists. Do you want to replace it?", m.relative_path()),
|
||||
Some(
|
||||
"A file or folder with the same name already eixsts. Replacing it will overwrite its current contents.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue