aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/com/zeapo
diff options
context:
space:
mode:
authorFabian Henneke <FabianHenneke@users.noreply.github.com>2020-06-02 12:41:08 +0200
committerGitHub <noreply@github.com>2020-06-02 16:11:08 +0530
commit0c01a5bbf9712781491b2064e63ee6842770bec6 (patch)
treea794c65301f03aca795817dbb41540c85f8b4e0c /app/src/main/java/com/zeapo
parent43ae4bbdb7c189e614f5f7af0a2dc53e70a741bd (diff)
Remove a misguided require from GitOperation (#826)
Diffstat (limited to 'app/src/main/java/com/zeapo')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/git/GitOperation.kt1
1 files changed, 0 insertions, 1 deletions
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<String?>, isRetry: Boolean) {
- require(connectionMode == ConnectionMode.Password)
val gitOperationPrefs = callingActivity.getEncryptedPrefs("git_operation")
val credentialPref: String
@StringRes val messageRes: Int