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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user