Fix bubble color wallpaper preview not updating for individuals.

This commit is contained in:
Cody Henthorne
2022-10-11 16:10:58 -04:00
parent 14dd71bf78
commit 5662473c18
2 changed files with 27 additions and 22 deletions

View File

@@ -98,7 +98,7 @@ public class EmojiTextView extends AppCompatTextView {
textDirection = getLayoutDirection() == LAYOUT_DIRECTION_LTR ? TextDirectionHeuristics.FIRSTSTRONG_RTL : TextDirectionHeuristics.ANYRTL_LTR;
setEmojiCompatEnabled(SignalStore.settings().isPreferSystemEmoji() && !forceCustom);
setEmojiCompatEnabled(useSystemEmoji());
}
@Override
@@ -357,7 +357,7 @@ public class EmojiTextView extends AppCompatTextView {
}
private boolean useSystemEmoji() {
return !forceCustom && SignalStore.settings().isPreferSystemEmoji();
return isInEditMode() || (!forceCustom && SignalStore.settings().isPreferSystemEmoji());
}
@Override