Remove a misguided require from GitOperation (#826)
This commit is contained in:
parent
43ae4bbdb7
commit
0c01a5bbf9
1 changed files with 0 additions and 1 deletions
|
@ -40,7 +40,6 @@ import kotlin.coroutines.resume
|
||||||
private class GitOperationCredentialFinder(val callingActivity: Activity, val connectionMode: ConnectionMode) : InteractivePasswordFinder() {
|
private class GitOperationCredentialFinder(val callingActivity: Activity, val connectionMode: ConnectionMode) : InteractivePasswordFinder() {
|
||||||
|
|
||||||
override fun askForPassword(cont: Continuation<String?>, isRetry: Boolean) {
|
override fun askForPassword(cont: Continuation<String?>, isRetry: Boolean) {
|
||||||
require(connectionMode == ConnectionMode.Password)
|
|
||||||
val gitOperationPrefs = callingActivity.getEncryptedPrefs("git_operation")
|
val gitOperationPrefs = callingActivity.getEncryptedPrefs("git_operation")
|
||||||
val credentialPref: String
|
val credentialPref: String
|
||||||
@StringRes val messageRes: Int
|
@StringRes val messageRes: Int
|
||||||
|
|
Loading…
Reference in a new issue