Adjust how preferred variation is handled for reaction customization.

This commit is contained in:
Cody Henthorne
2022-05-02 13:51:36 -04:00
committed by Greyson Parrelli
parent a4a4665aaa
commit 5ed6a05eb9
4 changed files with 14 additions and 5 deletions

View File

@@ -54,6 +54,10 @@ public final class EmojiUtil {
return canonical != null ? canonical : emoji;
}
public static boolean isCanonicallyEqual(@NonNull String left, @NonNull String right) {
return getCanonicalRepresentation(left).equals(getCanonicalRepresentation(right));
}
/**
* Converts the provided emoji string into a single drawable, if possible.
*/