* opt: marquee

* fix: bangumi seek

* opt: post panel

* opt: remove deprecated code

* opt: singleton dynController

* fix: music scheme

* feat: MemberVideo jump keep position

* tweak
This commit is contained in:
My-Responsitories
2025-09-04 20:29:02 +08:00
committed by GitHub
parent e8a674ca2a
commit 172389b12b
51 changed files with 1314 additions and 1227 deletions

View File

@@ -292,14 +292,14 @@ class PageUtils {
static Future<void> pushDynFromId({id, rid, bool off = false}) async {
SmartDialog.showLoading();
var res = await DynamicsHttp.dynamicDetail(
final res = await DynamicsHttp.dynamicDetail(
id: id,
rid: rid,
type: rid != null ? 2 : null,
);
SmartDialog.dismiss();
if (res['status']) {
DynamicItemModel data = res['data'];
if (res.isSuccess) {
final data = res.data;
if (data.basic?.commentType == 12) {
toDupNamed(
'/articlePage',
@@ -313,13 +313,13 @@ class PageUtils {
toDupNamed(
'/dynamicDetail',
arguments: {
'item': res['data'],
'item': data,
},
off: off,
);
}
} else {
SmartDialog.showToast(res['msg']);
res.toast();
}
}