mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-27 13:55:54 +08:00
opt: LoadingState (#1776)
This commit is contained in:
committed by
GitHub
parent
3741fe54ff
commit
17883eb77e
@@ -951,11 +951,11 @@ class ReplyItemGrpc extends StatelessWidget {
|
||||
rpid: item.id.toInt(),
|
||||
);
|
||||
SmartDialog.dismiss();
|
||||
if (result['status']) {
|
||||
if (result.isSuccess) {
|
||||
SmartDialog.showToast('删除成功');
|
||||
onDelete();
|
||||
} else {
|
||||
SmartDialog.showToast('删除失败, ${result["msg"]}');
|
||||
SmartDialog.showToast('删除失败, $result');
|
||||
}
|
||||
},
|
||||
minLeadingWidth: 0,
|
||||
|
||||
Reference in New Issue
Block a user