Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-21 22:38:47 +08:00
parent a1555826c3
commit 17568c8c27
43 changed files with 818 additions and 932 deletions

View File

@@ -97,12 +97,13 @@ class _WhisperSecPageState extends State<WhisperSecPage> {
if (index == response.length - 1) {
_controller.onLoadMore();
}
final item = response[index];
return WhisperSessionItem(
item: response[index],
item: item,
onSetTop: (isTop, talkerId) =>
_controller.onSetTop(index, isTop, talkerId),
_controller.onSetTop(item, index, isTop, talkerId),
onSetMute: (isMuted, talkerUid) =>
_controller.onSetMute(index, isMuted, talkerUid),
_controller.onSetMute(item, isMuted, talkerUid),
onRemove: (talkerId) => _controller.onRemove(index, talkerId),
);
},