fn confirm_destructive(
ui: &Rc<LibraryWindowUi>,
heading: &str,
body: &str,
action_label: &str,
on_confirm: impl Fn(Rc<LibraryWindowUi>) + 'static,
)Expand description
Cancel-by-default confirmation whose destructive button runs on_confirm.