aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorMohamed Zenadi <mohamed@zenadi.com>2017-09-10 08:03:36 +0200
committerMohamed Zenadi <mohamed@zenadi.com>2017-09-10 08:03:36 +0200
commit7ceb1719f383b4354fbbad08b3347250275f914c (patch)
tree62fdd7c61216dd3f155377d8417a3e263d3d1531 /app/src
parentbb2c6df4cf05470a1d8ea2eabf56ff068b437877 (diff)
remove trailing white space
Diffstat (limited to 'app/src')
-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 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()