mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -332,10 +332,8 @@ class _HorizontalMemberPageState extends State<HorizontalMemberPage> {
|
||||
mid: widget.mid,
|
||||
isFollow: memberInfoModel.isFollowed ?? false,
|
||||
callback: (attribute) {
|
||||
(_controller.userState.value
|
||||
as Success<MemberInfoModel>)
|
||||
.response
|
||||
.isFollowed = attribute != 0;
|
||||
_controller.userState.value.data.isFollowed =
|
||||
attribute != 0;
|
||||
_controller.userState.refresh();
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user