mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: mod relation
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -64,7 +64,7 @@ class _GroupPanelState extends State<GroupPanel> {
|
|||||||
final res = await MemberHttp.addUsers(widget.mid, tagids);
|
final res = await MemberHttp.addUsers(widget.mid, tagids);
|
||||||
SmartDialog.showToast(res['msg']);
|
SmartDialog.showToast(res['msg']);
|
||||||
if (res['status']) {
|
if (res['status']) {
|
||||||
Get.back(result: tagidList);
|
Get.back(result: tagidList ?? []);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ class RequestUtils {
|
|||||||
);
|
);
|
||||||
if (res['status']) {
|
if (res['status']) {
|
||||||
SmartDialog.showToast('$text成功');
|
SmartDialog.showToast('$text成功');
|
||||||
callback?.call(-10);
|
callback?.call(isSpecialFollowed ? 2 : -10);
|
||||||
} else {
|
} else {
|
||||||
SmartDialog.showToast(res['msg']);
|
SmartDialog.showToast(res['msg']);
|
||||||
}
|
}
|
||||||
@@ -125,7 +125,7 @@ class RequestUtils {
|
|||||||
);
|
);
|
||||||
followStatus!['tag'] = result;
|
followStatus!['tag'] = result;
|
||||||
if (result != null) {
|
if (result != null) {
|
||||||
callback?.call(2);
|
callback?.call(result.contains(-10) ? -10 : 2);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
title: const Text(
|
title: const Text(
|
||||||
|
|||||||
Reference in New Issue
Block a user