fix: remove unused expanded widget (#5885)

* fix: remove unused expanded widget

* Revert "fix: remove unused expanded widget"

This reverts commit dcdc318ea2.

* fix: remove unused expanded widget
This commit is contained in:
Lucas.Xu 2024-08-06 14:19:44 +08:00 committed by GitHub
parent 5757cc9a1d
commit aab942d163
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,13 +144,11 @@ class _FlowyIconEmojiPickerState extends State<FlowyIconEmojiPicker>
}
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);
},
);
}
}