adding in cancel action for password required dialog

This commit is contained in:
ellieplayswow 2025-02-03 15:55:04 +00:00
parent b4dae4bfa8
commit 8ef9f8ec4b

View file

@ -3734,6 +3734,9 @@ impl Application for App {
.primary_action( .primary_action(
widget::button::suggested(fl!("extract-here")).on_press(Message::DialogComplete), widget::button::suggested(fl!("extract-here")).on_press(Message::DialogComplete),
) )
.secondary_action(
widget::button::standard(fl!("cancel")).on_press(Message::DialogCancel),
)
} }
DialogPage::MountError { DialogPage::MountError {
mounter_key: _, mounter_key: _,