mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
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
This commit is contained in:
parent
5757cc9a1d
commit
aab942d163
@ -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);
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user