Attempt to fix potential draft setting loop.

This commit is contained in:
Cody Henthorne
2024-06-24 14:07:14 -04:00
committed by Greyson Parrelli
parent e08c2966c3
commit c37ed722dc

View File

@@ -169,7 +169,7 @@ public class ComposeText extends EmojiEditText {
}
public void setDraftText(@Nullable CharSequence draftText) {
setText("");
setText("", BufferType.EDITABLE);
if (draftText != null) {
append(draftText);