feat(gui): Recovery tab with list / generate / revoke + one-shot copy dialog
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -9,6 +9,7 @@ mod firstrun;
|
||||
mod keys_page;
|
||||
mod policy_form;
|
||||
mod policy_page;
|
||||
mod recovery_page;
|
||||
|
||||
const APP_ID: &str = "io.dangerousthings.AuthForge";
|
||||
|
||||
@@ -64,6 +65,9 @@ fn main() -> glib::ExitCode {
|
||||
let policy = policy_page::PolicyPage::new(ctx.clone());
|
||||
stack.add_titled(&policy.root, Some("policy"), "Policy");
|
||||
|
||||
let recovery = recovery_page::RecoveryPage::new(ctx.clone());
|
||||
stack.add_titled(&recovery.root, Some("recovery"), "Recovery");
|
||||
|
||||
// ToolbarView is libadwaita v1_4-gated; the project sticks with the
|
||||
// simpler Box layout for portability (see commit c6a5e94).
|
||||
let layout = gtk::Box::new(gtk::Orientation::Vertical, 0);
|
||||
|
||||
Reference in New Issue
Block a user