1
0
Fork 0
forked from Nexus/nexus

don't show recents in emoji picker modal

This commit is contained in:
Henry Hiles 2026-04-12 16:49:24 -04:00
commit 1282a8b897
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -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,
), ),