Redownload emoji search index if data is missing.

This commit is contained in:
Cody Henthorne
2025-11-19 14:25:30 -05:00
parent a3f1cc508e
commit 8030be031f
3 changed files with 16 additions and 0 deletions

View File

@@ -135,6 +135,10 @@ public class EmojiValues extends SignalStoreValues {
.apply();
}
public void clearSearchIndexVersion() {
getStore().beginWrite().remove(SEARCH_VERSION).apply();
}
public @Nullable String getSearchLanguage() {
return getString(SEARCH_LANGUAGE, null);
}