app: use PasswordEntry#extraContentString
for editing
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
b2b1e92b45
commit
6f453cc27c
1 changed files with 1 additions and 4 deletions
|
@ -138,10 +138,7 @@ class DecryptActivity : BasePgpActivity(), OpenPgpServiceConnection.OnBound {
|
||||||
intent.putExtra("REPO_PATH", repoPath)
|
intent.putExtra("REPO_PATH", repoPath)
|
||||||
intent.putExtra(PasswordCreationActivity.EXTRA_FILE_NAME, name)
|
intent.putExtra(PasswordCreationActivity.EXTRA_FILE_NAME, name)
|
||||||
intent.putExtra(PasswordCreationActivity.EXTRA_PASSWORD, passwordEntry?.password)
|
intent.putExtra(PasswordCreationActivity.EXTRA_PASSWORD, passwordEntry?.password)
|
||||||
intent.putExtra(
|
intent.putExtra(PasswordCreationActivity.EXTRA_EXTRA_CONTENT, passwordEntry?.extraContentString)
|
||||||
PasswordCreationActivity.EXTRA_EXTRA_CONTENT,
|
|
||||||
passwordEntry?.extraContentWithoutAuthData
|
|
||||||
)
|
|
||||||
intent.putExtra(PasswordCreationActivity.EXTRA_EDITING, true)
|
intent.putExtra(PasswordCreationActivity.EXTRA_EDITING, true)
|
||||||
startActivity(intent)
|
startActivity(intent)
|
||||||
finish()
|
finish()
|
||||||
|
|
Loading…
Reference in a new issue