remove trailing white space

This commit is contained in:
Mohamed Zenadi 2017-09-10 08:03:36 +02:00
parent bb2c6df4cf
commit 7ceb1719f3

View file

@ -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()