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

@ -719,10 +719,6 @@ pub enum PromptLevel {
/// A prompt that is shown when a critical problem has occurred
Critical,
/// A prompt that is shown when asking the user to confirm a potentially destructive action
/// (overwriting a file for example)
Destructive,
}
/// The style of the cursor (pointer)