Minor code cleanups

This commit is contained in:
Juha Heinanen
2021-04-03 17:50:30 +03:00
parent d8a4853bb0
commit a2afd8fdcc
@@ -353,7 +353,7 @@ object Utils {
override fun beforeTextChanged(sequence: CharSequence, start: Int, count: Int, after: Int) {}
override fun onTextChanged(sequence: CharSequence, start: Int, before: Int, count: Int) {
val text = sequence.subSequence(start, start + count).toString()
if (text.length > 0) {
if (text.isNotEmpty()) {
val digit = text[0]
val call = Call.ofCallp(callp)
if (call == null) {