chore: Localize emoji picker
This commit is contained in:
parent
acfe86c57c
commit
aeec3443c0
2 changed files with 3 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ class ChatEmojiPicker extends StatelessWidget {
|
||||||
onEmojiSelected: controller.onEmojiSelected,
|
onEmojiSelected: controller.onEmojiSelected,
|
||||||
onBackspacePressed: controller.emojiPickerBackspace,
|
onBackspacePressed: controller.emojiPickerBackspace,
|
||||||
config: Config(
|
config: Config(
|
||||||
|
locale: Localizations.localeOf(context),
|
||||||
emojiViewConfig: EmojiViewConfig(
|
emojiViewConfig: EmojiViewConfig(
|
||||||
noRecents: const NoRecent(),
|
noRecents: const NoRecent(),
|
||||||
backgroundColor:
|
backgroundColor:
|
||||||
|
|
|
||||||
|
|
@ -777,6 +777,8 @@ class Message extends StatelessWidget {
|
||||||
),
|
),
|
||||||
config:
|
config:
|
||||||
Config(
|
Config(
|
||||||
|
locale:
|
||||||
|
Localizations.localeOf(context),
|
||||||
emojiViewConfig:
|
emojiViewConfig:
|
||||||
const EmojiViewConfig(
|
const EmojiViewConfig(
|
||||||
backgroundColor:
|
backgroundColor:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue