mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2025-09-06 14:32:39 +02:00
Fix: Make generated entry path editable without suggested username (#687)
The path of a new entry created via Autofill should always be editable, even when no username is prefilled (e.g., when generating a new password or saving a form with no detected username field).
This commit is contained in:
parent
7dc6ee7992
commit
4e8f5e0f69
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue