mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Apply selected state to custom boost field instead of relying on focus.
This commit is contained in:
committed by
Cody Henthorne
parent
3feb73789d
commit
7385112115
@@ -170,6 +170,7 @@ data class Boost(
|
||||
custom.setText("")
|
||||
}
|
||||
|
||||
custom.isSelected = model.isCustomAmountFocused
|
||||
custom.setOnFocusChangeListener { _, hasFocus ->
|
||||
model.onCustomAmountFocusChanged(hasFocus)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user