mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 09:37:02 +08:00
check reply state
Closes #990 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -111,6 +111,12 @@ abstract class ReplyController<R> extends CommonListController<R, ReplyInfo> {
|
||||
ReplyInfo? replyItem,
|
||||
int? replyType,
|
||||
}) {
|
||||
if (loadingState.value case Error error) {
|
||||
if (error.errMsg?.contains('关闭评论区') == true) {
|
||||
SmartDialog.showToast(error.errMsg!);
|
||||
return;
|
||||
}
|
||||
}
|
||||
assert(replyItem != null || (oid != null && replyType != null));
|
||||
String? hint;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user