mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 14:25:28 +00:00
Remove a misguided require from GitOperation (#826)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user