resolve lint

This commit is contained in:
Milos Kozak 2020-10-19 17:47:06 +02:00
parent 00c5f140a9
commit c8bd0856bf

View file

@ -16,7 +16,7 @@ class ValidatingEditTextPreference(ctx: Context, attrs: AttributeSet, defStyleAt
setOnBindEditTextListener { editText ->
validator = DefaultEditTextValidator(editText, validatorParameters, context)
}
setOnPreferenceChangeListener { preference, newValue ->
setOnPreferenceChangeListener { _, _ ->
validator?.testValidity(false) ?: true
}
}