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:
Conrad Irwin 2024-05-09 18:52:09 -06:00 committed by GitHub
parent 901cb8b3d2
commit 0c2d71f1ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 4 additions and 14 deletions

View file

@ -263,7 +263,7 @@ impl Render for LanguageServerPrompt {
PromptLevel::Warning => {
Some(DiagnosticSeverity::WARNING)
}
PromptLevel::Critical | PromptLevel::Destructive => {
PromptLevel::Critical => {
Some(DiagnosticSeverity::ERROR)
}
}