diff --git a/src/org/thoughtcrime/securesms/loki/AccountDetailsActivity.kt b/src/org/thoughtcrime/securesms/loki/AccountDetailsActivity.kt index bde386b8fa..688e2e0248 100644 --- a/src/org/thoughtcrime/securesms/loki/AccountDetailsActivity.kt +++ b/src/org/thoughtcrime/securesms/loki/AccountDetailsActivity.kt @@ -2,12 +2,14 @@ package org.thoughtcrime.securesms.loki import android.content.Intent import android.os.Bundle +import android.view.inputmethod.InputMethodManager import kotlinx.android.synthetic.main.activity_account_details.* import org.thoughtcrime.securesms.BaseActionBarActivity import org.thoughtcrime.securesms.R import org.thoughtcrime.securesms.util.TextSecurePreferences import org.whispersystems.signalservice.api.crypto.ProfileCipher + class AccountDetailsActivity : BaseActionBarActivity() { override fun onCreate(savedInstanceState: Bundle?) { @@ -26,6 +28,8 @@ class AccountDetailsActivity : BaseActionBarActivity() { TextSecurePreferences.setProfileName(this, name) } } + val inputMethodManager = getSystemService(INPUT_METHOD_SERVICE) as InputMethodManager + inputMethodManager.hideSoftInputFromWindow(nameEditText.windowToken, 0) startActivity(Intent(this, KeyPairActivity::class.java)) finish() }