mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-24 09:38:25 +00:00
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:
parent
5757cc9a1d
commit
aab942d163
1 changed files with 5 additions and 7 deletions
|
|
@ -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…
Reference in a new issue