filter out empty categories
This commit is contained in:
parent
758a35c0a6
commit
bac0a5df23
1 changed files with 2 additions and 0 deletions
|
|
@ -140,6 +140,8 @@ final class const EmojiPicker({
|
||||||
)
|
)
|
||||||
.toIList();
|
.toIList();
|
||||||
|
|
||||||
|
if (emojis.isEmpty) return SizedBox.shrink();
|
||||||
|
|
||||||
return Column(
|
return Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue