don't show recents in emoji picker modal
This commit is contained in:
parent
6ca974e6fc
commit
1282a8b897
1 changed files with 2 additions and 1 deletions
|
|
@ -20,10 +20,11 @@ class EmojiPickerButton extends HookWidget {
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
onPressed?.call();
|
onPressed?.call();
|
||||||
final controller = this.controller ?? TextEditingController();
|
final controller = this.controller ?? TextEditingController();
|
||||||
showBottomSheet(
|
showModalBottomSheet(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) => EmojiKeyboardView(
|
builder: (context) => EmojiKeyboardView(
|
||||||
config: EmojiViewConfig(
|
config: EmojiViewConfig(
|
||||||
|
showRecentTab: false,
|
||||||
backgroundColor: Theme.of(context).colorScheme.surfaceContainer,
|
backgroundColor: Theme.of(context).colorScheme.surfaceContainer,
|
||||||
height: 600,
|
height: 600,
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue