mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-26 21:35:49 +08:00
@@ -408,11 +408,10 @@ class UgcIntroController extends CommonIntroController with ReloadMixin {
|
||||
if (videoDetail.owner == null || videoDetail.staff?.isNotEmpty == true) {
|
||||
return;
|
||||
}
|
||||
final result = await UserHttp.hasFollow(videoDetail.owner!.mid!);
|
||||
if (result['status']) {
|
||||
Map data = result['data'];
|
||||
if (data['special'] == 1) data['attribute'] = -10;
|
||||
followStatus.value = data;
|
||||
final res = await UserHttp.hasFollow(videoDetail.owner!.mid!);
|
||||
if (res case Success(:final response)) {
|
||||
if (response['special'] == 1) response['attribute'] = -10;
|
||||
followStatus.value = response;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user