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
5 changed files with 4 additions and 14 deletions
+1 -1
View File
@@ -437,7 +437,7 @@ impl PlatformWindow for WindowsWindow {
title = windows::core::w!("Warning");
main_icon = TD_WARNING_ICON;
}
crate::PromptLevel::Critical | crate::PromptLevel::Destructive => {
crate::PromptLevel::Critical => {
title = windows::core::w!("Critical");
main_icon = TD_ERROR_ICON;
}