🐛 Fix add reaction to non-reaction post cause infinite loading

This commit is contained in:
LittleSheep 2024-04-28 22:02:25 +08:00
parent ad10084850
commit 1e4fda7daa

View File

@ -135,7 +135,7 @@ class _PostItemState extends State<PostItem> {
@override @override
void initState() { void initState() {
reactionList = widget.item.reactionList; reactionList = widget.item.reactionList ?? {};
super.initState(); super.initState();
} }