refactor: streamline retrieve flow

This commit is contained in:
thePR0M3TH3AN
2025-07-15 10:53:50 -04:00
parent e52e2629fe
commit 6d24ffb2ec
2 changed files with 4 additions and 9 deletions

View File

@@ -2494,11 +2494,6 @@ class PasswordManager:
return
self.display_sensitive_entry_info(entry, index)
pause()
if getattr(self, "_suppress_entry_actions_menu", False):
return
self._entry_actions_menu(index, entry)
pause()
return
@@ -3910,9 +3905,9 @@ class PasswordManager:
)
stats["backup_count"] = len(backups)
stats["backup_dir"] = str(self.backup_manager.backup_dir)
stats[
"additional_backup_path"
] = self.config_manager.get_additional_backup_path()
stats["additional_backup_path"] = (
self.config_manager.get_additional_backup_path()
)
# Nostr sync info
manifest = getattr(self.nostr_client, "current_manifest", None)

View File

@@ -55,4 +55,4 @@ def test_pause_before_entry_actions(monkeypatch, adder, needs_confirm):
)
pm.handle_retrieve_entry()
assert len(pause_calls) == 2
assert len(pause_calls) == 1