Check for me (IOS-194)
This commit is contained in:
parent
6cf5134ff6
commit
f825198182
|
@ -120,8 +120,10 @@ extension DiscoveryForYouViewController: ProfileCardTableViewCellDelegate {
|
|||
Task {
|
||||
let newRelationship = try await DataSourceFacade.responseToUserFollowAction(dependency: self, user: account)
|
||||
|
||||
let isMe = (account.id == authContext.mastodonAuthenticationBox.userID)
|
||||
|
||||
await MainActor.run {
|
||||
cell.profileCardView.updateButtonState(with: newRelationship, isMe: false)
|
||||
cell.profileCardView.updateButtonState(with: newRelationship, isMe: isMe)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue