forked from github/szkolny
[Login] Fix incorrect case mode validation. (#115)
This commit is contained in:
parent
3f11e75985
commit
86f5811bda
@ -262,7 +262,7 @@ class LoginFormFragment : Fragment(), CoroutineScope {
|
||||
if (credential.caseMode == FormField.CaseMode.UPPER_CASE)
|
||||
text = text.uppercase()
|
||||
if (credential.caseMode == FormField.CaseMode.LOWER_CASE)
|
||||
text = text.uppercase()
|
||||
text = text.lowercase()
|
||||
|
||||
credential.stripTextRegex?.let {
|
||||
text = text.replace(it.toRegex(), "")
|
||||
|
Loading…
Reference in New Issue
Block a user