fixed compose summary text change listener

This commit is contained in:
Mariotaku Lee 2017-05-17 15:33:57 +08:00
parent 0fb832776e
commit 3fab1c38b4
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 1 additions and 1 deletions

View File

@ -1735,7 +1735,7 @@ class ComposeActivity : BaseActivity(), OnMenuItemClickListener, OnClickListener
private fun setupEditText() {
val sendByEnter = preferences[quickSendKey]
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) {
setMenu()
updateTextCount()