forked from github/szkolny
[Login] Reformat LoginInfo.
This commit is contained in:
parent
2b3a7f6b41
commit
481af64137
@ -26,6 +26,7 @@ object LoginInfo {
|
||||
validationRegex = "([\\w.\\-_+]+)?\\w+@[\\w-_]+(\\.\\w+)+",
|
||||
caseMode = FormField.CaseMode.LOWER_CASE
|
||||
)
|
||||
|
||||
private fun getPasswordCredential(keyName: String) = FormField(
|
||||
keyName = keyName,
|
||||
name = R.string.login_hint_password,
|
||||
@ -38,7 +39,8 @@ object LoginInfo {
|
||||
hideText = true
|
||||
)
|
||||
|
||||
val list by lazy { listOf(
|
||||
val list by lazy {
|
||||
listOf(
|
||||
Register(
|
||||
loginType = LOGIN_TYPE_LIBRUS,
|
||||
internalName = "librus",
|
||||
@ -370,7 +372,8 @@ object LoginInfo {
|
||||
)
|
||||
)
|
||||
)
|
||||
) }
|
||||
)
|
||||
}
|
||||
|
||||
data class Register(
|
||||
val loginType: Int,
|
||||
|
Loading…
x
Reference in New Issue
Block a user