fixed compose summary text change listener
This commit is contained in:
parent
0fb832776e
commit
3fab1c38b4
|
@ -1735,7 +1735,7 @@ class ComposeActivity : BaseActivity(), OnMenuItemClickListener, OnClickListener
|
||||||
private fun setupEditText() {
|
private fun setupEditText() {
|
||||||
val sendByEnter = preferences[quickSendKey]
|
val sendByEnter = preferences[quickSendKey]
|
||||||
EditTextEnterHandler.attach(editText, ComposeEnterListener(this), sendByEnter)
|
EditTextEnterHandler.attach(editText, ComposeEnterListener(this), sendByEnter)
|
||||||
editText.addTextChangedListener(object : SimpleTextWatcher {
|
editSummary.addTextChangedListener(object : SimpleTextWatcher {
|
||||||
override fun onTextChanged(s: CharSequence, start: Int, before: Int, count: Int) {
|
override fun onTextChanged(s: CharSequence, start: Int, before: Int, count: Int) {
|
||||||
setMenu()
|
setMenu()
|
||||||
updateTextCount()
|
updateTextCount()
|
||||||
|
|
Loading…
Reference in New Issue