diff --git a/src/app_sweep.cpp b/src/app_sweep.cpp index e4cdf4e..490e0fd 100644 --- a/src/app_sweep.cpp +++ b/src/app_sweep.cpp @@ -294,6 +294,14 @@ void App::buildSweepCatalog() memset(a.change_new_pass_buf_, 0, sizeof(a.change_new_pass_buf_)); memset(a.change_confirm_buf_, 0, sizeof(a.change_confirm_buf_)); }); + // Remove-encryption dialog — the redesigned passphrase-entry phase (reset() keeps the + // workflow in PassphraseEntry; nothing fires the async unlock/export/restart pyramid). + add("modal-decrypt", ui::NavPage::Settings, + [](App& a) { a.wallet_security_workflow_.reset(); a.show_decrypt_dialog_ = true; }, + [](App& a) { + a.show_decrypt_dialog_ = false; a.wallet_security_workflow_.reset(); + memset(a.decrypt_pass_buf_, 0, sizeof(a.decrypt_pass_buf_)); + }); add("modal-about", ui::NavPage::Overview, [](App& a) { a.show_about_ = true; }, [](App& a) { a.show_about_ = false; }); add("modal-settings", ui::NavPage::Settings,