fix menu position

fix sc

opt ui

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-01-10 12:54:35 +08:00
parent f06d0605ce
commit 34a839d9e2
13 changed files with 102 additions and 68 deletions

View File

@@ -527,9 +527,11 @@ class LiveRoomController extends GetxController {
} else {
bool? refresh;
for (final id in ids) {
final item = superChatMsg.firstWhereOrNull((e) => e.id == id);
item?.deleted = true;
refresh ??= true;
if (superChatMsg.firstWhereOrNull((e) => e.id == id)
case final item?) {
item.deleted = true;
refresh ??= true;
}
}
if (refresh ?? false) {
superChatMsg.refresh();