From 9895ca8eaadd27026eced44b02bbafaebce80029 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Fri, 4 Jul 2025 00:07:06 -0400 Subject: [PATCH] Move secret mode option to end of settings menu --- src/main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.py b/src/main.py index 9ddbf92..f1dde23 100644 --- a/src/main.py +++ b/src/main.py @@ -624,9 +624,9 @@ def handle_settings(password_manager: PasswordManager) -> None: print("8. Export 2FA codes") print("9. Set additional backup location") print("10. Set inactivity timeout") - print("11. Toggle Secret Mode") - print("12. Lock Vault") - print("13. Stats") + print("11. Lock Vault") + print("12. Stats") + print("13. Toggle Secret Mode") print("14. Back") choice = input("Select an option: ").strip() if choice == "1": @@ -652,13 +652,13 @@ def handle_settings(password_manager: PasswordManager) -> None: elif choice == "10": handle_set_inactivity_timeout(password_manager) elif choice == "11": - handle_toggle_secret_mode(password_manager) - elif choice == "12": password_manager.lock_vault() print(colored("Vault locked. Please re-enter your password.", "yellow")) password_manager.unlock_vault() - elif choice == "13": + elif choice == "12": handle_display_stats(password_manager) + elif choice == "13": + handle_toggle_secret_mode(password_manager) elif choice == "14": break else: