From 7ceb1719f383b4354fbbad08b3347250275f914c Mon Sep 17 00:00:00 2001 From: Mohamed Zenadi Date: Sun, 10 Sep 2017 08:03:36 +0200 Subject: [PATCH] remove trailing white space --- app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a88718e7..601dd846 100644 --- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt +++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt @@ -253,7 +253,7 @@ class PgpActivity : AppCompatActivity(), OpenPgpServiceConnection.OnBound { * Encrypts the password and the extra content */ private fun encrypt(): Unit { - val name = crypto_password_file_edit.text.toString() + val name = crypto_password_file_edit.text.toString().trim() val pass = crypto_password_edit.text.toString() val extra = crypto_extra_edit.text.toString()