aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt
index 2fb85118..013a98b0 100644
--- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt
@@ -163,7 +163,7 @@ class PgpActivity : AppCompatActivity(), OpenPgpServiceConnection.OnBound {
setText(getRelativePath(fullPath, repoPath))
// If the activity has been provided with suggested info, we allow the user to
// edit the path, otherwise we style the EditText like a TextView.
- if (suggestedName != null) {
+ if (suggestedName != null || suggestedPass != null) {
isEnabled = true
} else {
setBackgroundColor(getColor(android.R.color.transparent))