aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/com/zeapo
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-07-19 10:56:51 +0530
committerGitHub <noreply@github.com>2020-07-19 10:56:51 +0530
commitffb47031b070e2676e7085ac316841d85d1b3773 (patch)
tree7c778b17c4519b1d155522fbc731ef5e804ab7bf /app/src/main/java/com/zeapo
parentd4379a47791ea0002eda9821f35c632f1e224962 (diff)
Always allow SSH key generation (#938)
Diffstat (limited to 'app/src/main/java/com/zeapo')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/UserPreference.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt
index 98873fad..e2cde88e 100644
--- a/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/UserPreference.kt
@@ -96,7 +96,7 @@ class UserPreference : AppCompatActivity() {
if (!PasswordRepository.isGitRepo()) {
listOfNotNull(
gitServerPreference, gitConfigPreference, sshKeyPreference,
- sshKeygenPreference, viewSshKeyPreference, clearSavedPassPreference
+ viewSshKeyPreference, clearSavedPassPreference
).forEach {
it.parent?.removePreference(it)
}