From 849b837edcf26d65142d6ec27a6a6ac2eef24385 Mon Sep 17 00:00:00 2001 From: Tobias Hagemann Date: Wed, 16 Oct 2024 12:56:37 +0200 Subject: [PATCH] Replaced print statements --- Cryptomator/VaultList/VaultListViewModel.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cryptomator/VaultList/VaultListViewModel.swift b/Cryptomator/VaultList/VaultListViewModel.swift index 1a986044e..0adb8722b 100644 --- a/Cryptomator/VaultList/VaultListViewModel.swift +++ b/Cryptomator/VaultList/VaultListViewModel.swift @@ -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) }