From 0c01a5bbf9712781491b2064e63ee6842770bec6 Mon Sep 17 00:00:00 2001 From: Fabian Henneke Date: Tue, 2 Jun 2020 12:41:08 +0200 Subject: Remove a misguided require from GitOperation (#826) --- app/src/main/java/com/zeapo/pwdstore/git/GitOperation.kt | 1 - 1 file changed, 1 deletion(-) (limited to 'app') diff --git a/app/src/main/java/com/zeapo/pwdstore/git/GitOperation.kt b/app/src/main/java/com/zeapo/pwdstore/git/GitOperation.kt index 404b5860..6df5f65d 100644 --- a/app/src/main/java/com/zeapo/pwdstore/git/GitOperation.kt +++ b/app/src/main/java/com/zeapo/pwdstore/git/GitOperation.kt @@ -40,7 +40,6 @@ import kotlin.coroutines.resume private class GitOperationCredentialFinder(val callingActivity: Activity, val connectionMode: ConnectionMode) : InteractivePasswordFinder() { override fun askForPassword(cont: Continuation, isRetry: Boolean) { - require(connectionMode == ConnectionMode.Password) val gitOperationPrefs = callingActivity.getEncryptedPrefs("git_operation") val credentialPref: String @StringRes val messageRes: Int -- cgit v1.2.3