From 4ff0525e951472bc187961a89dc97e79aba8c68e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 8 May 2023 02:18:16 +0530 Subject: [PATCH] fix: adjust GPGPassphraseCache public API --- .../java/app/passwordstore/data/crypto/GPGPassphraseCache.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/app/passwordstore/data/crypto/GPGPassphraseCache.kt b/app/src/main/java/app/passwordstore/data/crypto/GPGPassphraseCache.kt index d9e66f74..193c363c 100644 --- a/app/src/main/java/app/passwordstore/data/crypto/GPGPassphraseCache.kt +++ b/app/src/main/java/app/passwordstore/data/crypto/GPGPassphraseCache.kt @@ -18,7 +18,7 @@ constructor( private val dispatcherProvider: DispatcherProvider, ) { - private suspend fun cachePassphrase( + suspend fun cachePassphrase( context: Context, identifier: GpgIdentifier, passphrase: String, @@ -28,7 +28,7 @@ constructor( } } - private suspend fun retrieveCachedPassphrase( + suspend fun retrieveCachedPassphrase( context: Context, identifier: GpgIdentifier, ): String? {