refa: opus (#762)

* feat: opus

* fix

* fix

* fix

* fix

* .

* fix

* remove

* wbi sign

* fix

* opus content null check

Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2025-04-27 17:24:14 +08:00
committed by GitHub
parent 3722ff1f33
commit bd3c76ef43
86 changed files with 1259 additions and 3222 deletions

View File

@@ -72,13 +72,13 @@ class MemberDynamicsController
var res = await DynamicsHttp.setTop(dynamicId: dynamicId);
if (res['status']) {
List<DynamicItemModel> list = (loadingState.value as Success).response;
list[0].modules?.moduleTag = null;
list[0].modules.moduleTag = null;
if (isTop) {
loadingState.refresh();
SmartDialog.showToast('取消置顶成功');
} else {
final item = list.firstWhere((item) => item.idStr == dynamicId);
item.modules?.moduleTag = ModuleTag(text: '置顶');
item.modules.moduleTag = ModuleTag(text: '置顶');
list.remove(item);
list.insert(0, item);
loadingState.refresh();