From aab942d163348dc19363bca43596058b81221ca7 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Tue, 6 Aug 2024 14:19:44 +0800 Subject: [PATCH] fix: remove unused expanded widget (#5885) * fix: remove unused expanded widget * Revert "fix: remove unused expanded widget" This reverts commit dcdc318ea24926075d3e9a3b827e365b0de77826. * fix: remove unused expanded widget --- .../icon_emoji_picker/flowy_icon_emoji_picker.dart | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/frontend/appflowy_flutter/lib/shared/icon_emoji_picker/flowy_icon_emoji_picker.dart b/frontend/appflowy_flutter/lib/shared/icon_emoji_picker/flowy_icon_emoji_picker.dart index e91a6a3cae..ede5b245b7 100644 --- a/frontend/appflowy_flutter/lib/shared/icon_emoji_picker/flowy_icon_emoji_picker.dart +++ b/frontend/appflowy_flutter/lib/shared/icon_emoji_picker/flowy_icon_emoji_picker.dart @@ -144,13 +144,11 @@ class _FlowyIconEmojiPickerState extends State } Widget _buildIconPicker() { - return Expanded( - child: FlowyIconPicker( - onSelectedIcon: (iconGroup, icon, color) { - debugPrint('icon: ${icon.toJson()}, color: $color'); - widget.onSelectedIcon?.call(iconGroup, icon, color); - }, - ), + return FlowyIconPicker( + onSelectedIcon: (iconGroup, icon, color) { + debugPrint('icon: ${icon.toJson()}, color: $color'); + widget.onSelectedIcon?.call(iconGroup, icon, color); + }, ); } }