mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-06-11 21:20:47 +02:00
[Login] Fix incorrect case mode validation. (#115)
This commit is contained in:
@ -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(), "")
|
||||
|
Reference in New Issue
Block a user