Skip to content

Conversation

@eranl
Copy link
Contributor

@eranl eranl commented Jun 24, 2025

Also, add a Dictionary.TYPE_EMOJI constant.

See discussion.

useContactsDict: Boolean,
useAppsDict: Boolean,
usePersonalizedDicts: Boolean,
useEmojiDict: Boolean,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer reading the setting as part of resetDictionaries, instead of putting useEmojiDict in the interface.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I followed the pattern of passing the other settings. Why should it be done differently?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other settings are checked in usesSameSettings to check whether a reload is necessary. This is not done with useEmojiDict, here a completely different way of reloading is used (resetDictionaryFacilitatorIfNecessary).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. Done.

@Helium314 Helium314 merged commit 9d1bdd9 into Helium314:main Jul 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants