Fix span refresh

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2019-04-10 14:26:44 +02:00
parent 06992b400f
commit 667e01924c

View File

@ -263,7 +263,7 @@ public class DisplayUtils {
// A hack to refresh the chip icon
if (emojiEditText != null) {
emojiEditText.setTextKeepState(emojiEditText.getText());
emojiEditText.post(() -> emojiEditText.setTextKeepState(emojiEditText.getText(), TextView.BufferType.SPANNABLE));
}
}
}