mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-08-01 19:50:53 +00:00
fix adding local auth
This commit is contained in:
parent
960919f401
commit
b40492d303
3 changed files with 12 additions and 3 deletions
|
|
@ -150,7 +150,7 @@ android {
|
|||
buildConfigField "String", "STORE", "\"google\""
|
||||
multiDexEnabled true
|
||||
|
||||
versionCode 2075
|
||||
versionCode 2076
|
||||
versionName "1.8"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,12 @@
|
|||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="@dimen/spacing_medium">
|
||||
<TextView
|
||||
android:id="@+id/emailTitleTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/email"
|
||||
android:layout_marginTop="@dimen/content_section_spacing"/>
|
||||
<EditText
|
||||
android:id="@+id/editText"
|
||||
android:layout_width="match_parent"
|
||||
|
|
@ -16,7 +22,8 @@
|
|||
<EditText
|
||||
android:id="@+id/passwordEditText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textPassword" />
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
@ -25,5 +32,6 @@
|
|||
<EditText
|
||||
android:id="@+id/passwordRepeatEditText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:inputType="textPassword"/>
|
||||
</LinearLayout>
|
||||
|
|
@ -83,6 +83,7 @@ class AuthenticationPreferenceFragment: BasePreferencesFragment() {
|
|||
}
|
||||
"reset_account" -> showAccountResetConfirmation()
|
||||
"delete_account" -> showAccountDeleteConfirmation()
|
||||
"add_local_auth" -> showAddLocalNotificationDialog()
|
||||
else -> {
|
||||
val clipMan = activity?.getSystemService(Context.CLIPBOARD_SERVICE) as? ClipboardManager
|
||||
clipMan?.primaryClip = ClipData.newPlainText(preference.key, preference.summary)
|
||||
|
|
|
|||
Loading…
Reference in a new issue