-
Notifications
You must be signed in to change notification settings - Fork 0
Neo Login Password #44
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect.
1- Just a little test is needed.
2- Is space validate for a password?
3- Temp in drawable is not meaningful.
4- There was a ValidatorUtil class in the util package. Can you move your validator's code there?
app/src/main/java/de/netalic/peacock/ui/login/password/PasswordLoginFragment.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/netalic/peacock/ui/login/password/PasswordLoginViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/netalic/peacock/ui/login/password/PasswordLoginFragment.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/netalic/peacock/ui/login/password/PasswordLoginViewModel.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/de/netalic/peacock/ui/login/password/PasswordLoginFragment.kt
Show resolved
Hide resolved
if (status == ResponseStatus.PASSWORD_MATCH) { | ||
Toast.makeText(context, "Password Match", Toast.LENGTH_LONG).show() | ||
mButtonContinue.isEnabled = true | ||
mButtonContinue.backgroundTintList = ContextCompat.getColorStateList(requireContext(), R.color.colorTertiary) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It needs a selector to handle the button color.
I have that selector in the registration branch in drawable, you can take it to prevent the conflict.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1-Both of text bottom are "switch to password" one of them should be "switch to pattern".
2-I think when our password in first box is wrong , the second box should not be enable.
@Miladsalimiiiii @tina-t2 |
Review my master peace |
@Miladsalimiiiii |
Login with password in renewed.