diff --git a/lib/pages/live_room/superchat/superchat_panel.dart b/lib/pages/live_room/superchat/superchat_panel.dart index ad6f33c9f..d54162f08 100644 --- a/lib/pages/live_room/superchat/superchat_panel.dart +++ b/lib/pages/live_room/superchat/superchat_panel.dart @@ -38,7 +38,8 @@ class _SuperChatPanelState extends DebounceStreamState final index = widget.controller.superChatMsg.indexWhere( (i) => i.id == (key as ValueKey).value, ); - return index == -1 ? null : index; + // Multiply by 2 to account for separators + return index == -1 ? null : index * 2; }, itemBuilder: (context, index) { final item = widget.controller.superChatMsg[index];