mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-16 07:06:14 +08:00
@@ -348,8 +348,11 @@ class _HorizontalMemberPageState extends State<HorizontalMemberPage> {
|
||||
mid: widget.mid,
|
||||
isFollow: memberInfoModel.isFollowed ?? false,
|
||||
callback: (attribute) {
|
||||
_controller.userState.value = LoadingState.success(
|
||||
memberInfoModel..isFollowed = attribute != 0);
|
||||
(_controller.userState.value
|
||||
as Success<MemberInfoModel>)
|
||||
.response
|
||||
.isFollowed = attribute != 0;
|
||||
_controller.userState.refresh();
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user