chore: make locale for emoji suggestions configureable
This commit is contained in:
parent
e7f9302e52
commit
419f57a14c
2 changed files with 4 additions and 1 deletions
|
|
@ -336,7 +336,9 @@ class ChatInputRow extends StatelessWidget {
|
|||
),
|
||||
onChanged: controller.onInputBarChanged,
|
||||
suggestionEmojis: getDefaultEmojiLocale(
|
||||
Localizations.localeOf(context),
|
||||
AppSettings.emojiSuggestionLocale.value.isNotEmpty
|
||||
? Locale(AppSettings.emojiSuggestionLocale.value)
|
||||
: Localizations.localeOf(context),
|
||||
).fold(
|
||||
[],
|
||||
(emojis, category) => emojis..addAll(category.emoji),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue