removing any existing text futures before setting new text

- tentatively fixes IllegalArgumentException when recycling the text views due to AppCompatTextView.consumeTextFutureAndSetBlocking attempting to consuming any futures, even if they may be invalid
This commit is contained in:
Adam Brown 2021-12-21 17:05:39 +00:00
parent 4daef6018e
commit 57e0ce2303

View File

@ -16,7 +16,6 @@
package im.vector.app.features.home.room.detail.timeline.item
import android.text.Spanned
import android.text.method.MovementMethod
import androidx.appcompat.widget.AppCompatTextView
import androidx.core.text.PrecomputedTextCompat