Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update loading indicator feedback (#520)

Leendert de Borst0ab5ca9377d7
diff --git a/apps/mobile-app/ios/Autofill/CredentialProviderViewController+Passkey.swift b/apps/mobile-app/ios/Autofill/CredentialProviderViewController+Passkey.swift
index 203f7144f..e61fd9790 100644
--- a/apps/mobile-app/ios/Autofill/CredentialProviderViewController+Passkey.swift
+++ b/apps/mobile-app/ios/Autofill/CredentialProviderViewController+Passkey.swift
@@ -263,12 +263,12 @@ extension CredentialProviderViewController: PasskeyProviderDelegate {
let webApiService = WebApiService()
// Step 1: Sync vault before creating passkey (to avoid conflicts)
- await viewModel.setLoading(true, message: NSLocalizedString("vault_syncing", comment: "Syncing vault..."))
-
+ await viewModel.setLoading(true, message: NSLocalizedString("creating_passkey", comment: "Syncing vault..."))
+
try await vaultStore.syncVault(using: webApiService)
-
+
// Step 2: Extract favicon from service URL
- await viewModel.setLoading(true, message: NSLocalizedString("vault_syncing", comment: "Syncing vault..."))
+ await viewModel.setLoading(true, message: NSLocalizedString("creating_passkey", comment: "Syncing vault..."))
print("PasskeyRegistration: Extracting favicon for \(rpId)...")
var logo: Data?
do {
@@ -322,7 +322,7 @@ extension CredentialProviderViewController: PasskeyProviderDelegate {
)
// Step 4: Store credential with passkey in database
- await viewModel.setLoading(true, message: NSLocalizedString("saving_to_vault", comment: "Saving to vault..."))
+ await viewModel.setLoading(true, message: NSLocalizedString("vault_syncing", comment: "Saving to vault..."))
// Begin transaction
try vaultStore.beginTransaction()
@@ -341,7 +341,7 @@ extension CredentialProviderViewController: PasskeyProviderDelegate {
print("PasskeyRegistration: Credential and passkey stored in database - credentialId=\(credential.id.uuidString)")
// Step 5: Upload vault changes to server
- await viewModel.setLoading(true, message: NSLocalizedString("uploading_vault", comment: "Uploading vault..."))
+ await viewModel.setLoading(true, message: NSLocalizedString("vault_syncing", comment: "Uploading vault..."))
print("PasskeyRegistration: Uploading vault changes to server...")
do {
try await vaultStore.mutateVault(using: webApiService)
diff --git a/apps/mobile-app/ios/Autofill/en.lproj/Localizable.strings b/apps/mobile-app/ios/Autofill/en.lproj/Localizable.strings
index 9e675dd33..d07f74070 100644
Binary files a/apps/mobile-app/ios/Autofill/en.lproj/Localizable.strings and b/apps/mobile-app/ios/Autofill/en.lproj/Localizable.strings differ