Apply selected state to custom boost field instead of relying on focus.

This commit is contained in:
Alex Hart
2021-12-10 10:29:15 -04:00
committed by Cody Henthorne
parent 3feb73789d
commit 7385112115
2 changed files with 2 additions and 1 deletions

View File

@@ -170,6 +170,7 @@ data class Boost(
custom.setText("")
}
custom.isSelected = model.isCustomAmountFocused
custom.setOnFocusChangeListener { _, hasFocus ->
model.onCustomAmountFocusChanged(hasFocus)
}