Fix editing custom reactions.

This commit is contained in:
Michelle Tang
2025-01-24 11:06:36 -05:00
committed by Greyson Parrelli
parent 8be946e43f
commit f65cebdada
2 changed files with 9 additions and 3 deletions

View File

@@ -72,6 +72,10 @@ public class EmojiValues extends SignalStoreValues {
return getString(PREFIX + canonical, emoji);
}
public void removePreferredVariation(@NonNull String emoji) {
getStore().beginWrite().remove(PREFIX + emoji).apply();
}
/**
* Returns a list usable emoji that the user has selected as their defaults. If any stored reactions are unreadable, it will provide a default.
* For raw access to the unfiltered list of reactions, see {@link #getRawReactions()}.