Skip to content

Commit

Permalink
fix: later: del viewed
Browse files Browse the repository at this point in the history
Signed-off-by: bggRGjQaUbCoE <[email protected]>
  • Loading branch information
bggRGjQaUbCoE committed Nov 30, 2024
1 parent fefc299 commit ce6ccf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/pages/later/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ class LaterController extends MultiSelectController {
),
TextButton(
onPressed: () async {
var res = await UserHttp.toViewDel(aids: [aid]);
var res =
await UserHttp.toViewDel(aids: aid != null ? [aid] : null);
if (res['status']) {
if (aid != null) {
List list = (loadingState.value as Success).response;
Expand Down

0 comments on commit ce6ccf3

Please sign in to comment.