mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-14 02:01:56 +00:00
Remove option to register through facebook Fixes #1638
This commit is contained in:
parent
5d80eeb9e8
commit
75f6491720
1 changed files with 2 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ class LoginActivity : BaseActivity(), Consumer<UserAuthResponse> {
|
|||
binding.password.setAutofillHints("newPassword")
|
||||
}
|
||||
binding.password.imeOptions = EditorInfo.IME_ACTION_NEXT
|
||||
binding.fbLoginButton.setText(R.string.register_btn_fb)
|
||||
binding.fbLoginButton.visibility = View.GONE
|
||||
binding.googleLoginButton.setText(R.string.register_btn_google)
|
||||
} else {
|
||||
binding.loginBtn.text = getString(R.string.login_btn)
|
||||
|
|
@ -287,6 +287,7 @@ class LoginActivity : BaseActivity(), Consumer<UserAuthResponse> {
|
|||
}
|
||||
binding.password.imeOptions = EditorInfo.IME_ACTION_DONE
|
||||
binding.fbLoginButton.setText(R.string.login_btn_fb)
|
||||
binding.fbLoginButton.visibility = View.VISIBLE
|
||||
binding.googleLoginButton.setText(R.string.login_btn_google)
|
||||
}
|
||||
this.resetLayout()
|
||||
|
|
|
|||
Loading…
Reference in a new issue