mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: follow up (#702)
This commit is contained in:
committed by
GitHub
parent
cb6ead96d1
commit
12c711424b
@@ -1133,7 +1133,7 @@ class Utils {
|
||||
required BuildContext context,
|
||||
required dynamic mid,
|
||||
required bool isFollow,
|
||||
required ValueChanged? callback,
|
||||
required ValueChanged<int>? callback,
|
||||
Map? followStatus,
|
||||
}) async {
|
||||
if (mid == null) {
|
||||
@@ -1182,7 +1182,7 @@ class Utils {
|
||||
);
|
||||
if (res['status']) {
|
||||
SmartDialog.showToast('$text成功');
|
||||
callback?.call(2);
|
||||
callback?.call(-10);
|
||||
} else {
|
||||
SmartDialog.showToast(res['msg']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user