Эх сурвалжийг харах

Fix span refresh

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 6 жил өмнө
parent
commit
667e01924c

+ 1 - 1
app/src/main/java/com/nextcloud/talk/utils/DisplayUtils.java

@@ -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));
                                 }
                             }
                         }