resolve lint
This commit is contained in:
parent
00c5f140a9
commit
c8bd0856bf
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class ValidatingEditTextPreference(ctx: Context, attrs: AttributeSet, defStyleAt
|
||||||
setOnBindEditTextListener { editText ->
|
setOnBindEditTextListener { editText ->
|
||||||
validator = DefaultEditTextValidator(editText, validatorParameters, context)
|
validator = DefaultEditTextValidator(editText, validatorParameters, context)
|
||||||
}
|
}
|
||||||
setOnPreferenceChangeListener { preference, newValue ->
|
setOnPreferenceChangeListener { _, _ ->
|
||||||
validator?.testValidity(false) ?: true
|
validator?.testValidity(false) ?: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue