Skip to content

Commit

Permalink
Replaced print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
tobihagemann committed Oct 16, 2024
1 parent 889984d commit 849b837
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 849b837

Please sign in to comment.