82cc800415f3e6caff699d4a92e7a3eb4f7178e6
UnlockViewModel.openFile(url:) called unlockWithPassword() immediately after saving the bookmark, but the first-open UI (openFileSection) has no password field yet -- password is still "" at that point, so every first file pick failed before the user could type anything. Picking a file now only saves the bookmark; the view naturally switches to the password-entry state for the user to unlock explicitly. Also makes KDBXError conform to LocalizedError with readable messages per case, so any error path that reaches the generic catch clause shows something useful instead of the default "The operation couldn't be completed (MyPassCore.KDBXError error N)". Found while testing the Phase 4 UI against a real KDBX file in the simulator. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WYqycDFsynHH9VnnK7LNSf
Description
No description provided
15 MiB
Languages
Swift
100%