From 6f453cc27cc40f5a9f860aa04454e154ef4032e2 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 23 May 2021 18:21:41 +0530 Subject: [PATCH] app: use `PasswordEntry#extraContentString` for editing Signed-off-by: Harsh Shandilya --- .../main/java/dev/msfjarvis/aps/ui/crypto/DecryptActivity.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/dev/msfjarvis/aps/ui/crypto/DecryptActivity.kt b/app/src/main/java/dev/msfjarvis/aps/ui/crypto/DecryptActivity.kt index e17ce612..49d5d6a8 100644 --- a/app/src/main/java/dev/msfjarvis/aps/ui/crypto/DecryptActivity.kt +++ b/app/src/main/java/dev/msfjarvis/aps/ui/crypto/DecryptActivity.kt @@ -138,10 +138,7 @@ class DecryptActivity : BasePgpActivity(), OpenPgpServiceConnection.OnBound { intent.putExtra("REPO_PATH", repoPath) intent.putExtra(PasswordCreationActivity.EXTRA_FILE_NAME, name) intent.putExtra(PasswordCreationActivity.EXTRA_PASSWORD, passwordEntry?.password) - intent.putExtra( - PasswordCreationActivity.EXTRA_EXTRA_CONTENT, - passwordEntry?.extraContentWithoutAuthData - ) + intent.putExtra(PasswordCreationActivity.EXTRA_EXTRA_CONTENT, passwordEntry?.extraContentString) intent.putExtra(PasswordCreationActivity.EXTRA_EDITING, true) startActivity(intent) finish()