mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
@@ -37,7 +37,7 @@ class ReplyMeController
|
||||
Future<LoadingState<MsgReplyData>> customGetData() =>
|
||||
MsgHttp.msgFeedReplyMe(cursor: cursor, cursorTime: cursorTime);
|
||||
|
||||
Future<void> onRemove(Object id, int index) async {
|
||||
Future<void> onRemove(dynamic id, int index) async {
|
||||
try {
|
||||
var res = await MsgHttp.delMsgfeed(1, id);
|
||||
if (res['status']) {
|
||||
|
||||
@@ -110,7 +110,7 @@ class _ReplyMePageState extends State<ReplyMePage> {
|
||||
context: context,
|
||||
title: '确定删除该通知?',
|
||||
onConfirm: () =>
|
||||
_replyMeController.onRemove(item.id!, index),
|
||||
_replyMeController.onRemove(item.id, index),
|
||||
),
|
||||
leading: GestureDetector(
|
||||
onTap: () => Get.toNamed('/member?mid=${item.user?.mid}'),
|
||||
|
||||
Reference in New Issue
Block a user