diff options
| author | Harsh Shandilya <msfjarvis@gmail.com> | 2020-09-18 18:14:52 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-18 18:14:52 +0530 |
| commit | bad8e2b4043b1239c17aafc1cc6779a347b3680e (patch) | |
| tree | f963f4cc93bcf0409a972a2620a7cb4c8431c479 /app/src/main/java/com/zeapo/pwdstore/git/operation | |
| parent | 9d63b113912e0d9ecd1237501c6fc6a9689d7620 (diff) | |
| download | HardenedPass-bad8e2b4043b1239c17aafc1cc6779a347b3680e.tar.gz HardenedPass-bad8e2b4043b1239c17aafc1cc6779a347b3680e.zip | |
Misc cleanups to build and extension functions (#1108)
Diffstat (limited to 'app/src/main/java/com/zeapo/pwdstore/git/operation')
| -rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/git/operation/CredentialFinder.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/git/operation/CredentialFinder.kt b/app/src/main/java/com/zeapo/pwdstore/git/operation/CredentialFinder.kt index 742361c0..c34af18a 100644 --- a/app/src/main/java/com/zeapo/pwdstore/git/operation/CredentialFinder.kt +++ b/app/src/main/java/com/zeapo/pwdstore/git/operation/CredentialFinder.kt @@ -14,7 +14,7 @@ import com.zeapo.pwdstore.R import com.zeapo.pwdstore.git.config.AuthMode import com.zeapo.pwdstore.git.sshj.InteractivePasswordFinder import com.zeapo.pwdstore.utils.PreferenceKeys -import com.zeapo.pwdstore.utils.getEncryptedPrefs +import com.zeapo.pwdstore.utils.getEncryptedGitPrefs import com.zeapo.pwdstore.utils.requestInputFocusOnView import kotlin.coroutines.Continuation import kotlin.coroutines.resume @@ -25,7 +25,7 @@ class CredentialFinder( ) : InteractivePasswordFinder() { override fun askForPassword(cont: Continuation<String?>, isRetry: Boolean) { - val gitOperationPrefs = callingActivity.getEncryptedPrefs("git_operation") + val gitOperationPrefs = callingActivity.getEncryptedGitPrefs() val credentialPref: String @StringRes val messageRes: Int @StringRes val hintRes: Int |
