Skip to content

Commit

Permalink
Merge branch 'bugix/missing-lock-icon' of github.com:cryptomator/ios …
Browse files Browse the repository at this point in the history
…into bugfix/missing-lock-icon
  • Loading branch information
iammajid committed Oct 16, 2024
2 parents 1bd4518 + 849b837 commit c2a1817
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cryptomator/VaultList/VaultListViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ class VaultListViewModel: ViewModel, VaultListViewModelProtocol {
return getXPCPromise.then { xpc in
return xpc.proxy.getIsUnlockedVault(domainIdentifier: domainIdentifier)
}.then { isUnlocked -> Void in
print("Vault \(vault.vaultUID) unlock status: \(isUnlocked ? "Unlocked" : "Locked")")
DDLogDebug("Vault \(vault.vaultUID) unlock status: \(isUnlocked ? "Unlocked" : "Locked")")
vault.vaultIsUnlocked.value = isUnlocked
}.catch { error in
print("Failed to check unlock status for vault \(vault.vaultUID): \(error)")
DDLogError("Failed to check unlock status for vault \(vault.vaultUID): \(error)")
}.always {
self.fileProviderConnector.invalidateXPC(getXPCPromise)
}
Expand Down

0 comments on commit c2a1817

Please sign in to comment.