opt check reply state

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-24 18:10:37 +08:00
parent 7d30c9c66a
commit 08d64be5d4
3 changed files with 8 additions and 4 deletions

View File

@@ -131,8 +131,9 @@ abstract class ReplyController<R> extends CommonListController<R, ReplyInfo> {
int? replyType,
}) {
if (loadingState.value case Error error) {
if (error.errMsg?.contains('关闭评论区') == true) {
SmartDialog.showToast(error.errMsg!);
final errMsg = error.errMsg;
if (errMsg != null && (error.code == 12061 || error.code == 12002)) {
SmartDialog.showToast(errMsg);
return;
}
}