fix: later: del viewed

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-30 17:29:24 +08:00
parent fefc2997cd
commit ce6ccf3918

View File

@@ -52,7 +52,8 @@ class LaterController extends MultiSelectController {
), ),
TextButton( TextButton(
onPressed: () async { onPressed: () async {
var res = await UserHttp.toViewDel(aids: [aid]); var res =
await UserHttp.toViewDel(aids: aid != null ? [aid] : null);
if (res['status']) { if (res['status']) {
if (aid != null) { if (aid != null) {
List list = (loadingState.value as Success).response; List list = (loadingState.value as Success).response;