mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-22 13:48:55 +00:00
hide password when deleting account. Fixes #925
This commit is contained in:
parent
8e653a3029
commit
236b540e6c
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ import android.os.Bundle
|
|||
import android.support.v4.content.ContextCompat
|
||||
import android.support.v7.app.AlertDialog
|
||||
import android.support.v7.preference.Preference
|
||||
import android.text.InputType
|
||||
import android.widget.EditText
|
||||
import android.widget.LinearLayout
|
||||
import android.widget.Toast
|
||||
|
|
@ -130,6 +131,7 @@ class AuthenticationPreferenceFragment: BasePreferencesFragment() {
|
|||
|
||||
private fun showAccountDeleteConfirmation() {
|
||||
val input = EditText(context)
|
||||
input.inputType = InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_VARIATION_PASSWORD
|
||||
val lp = LinearLayout.LayoutParams(
|
||||
LinearLayout.LayoutParams.MATCH_PARENT,
|
||||
LinearLayout.LayoutParams.MATCH_PARENT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue