forked from shadowfacts/Tusker
Remove send message from profile share menu
This commit is contained in:
parent
4cfe5e0fa5
commit
d4fa2f36e3
|
@ -249,13 +249,11 @@ extension ProfileTableViewController: ProfileHeaderTableViewCellDelegate {
|
||||||
if let relationship = relationship {
|
if let relationship = relationship {
|
||||||
let toggleFollowActivity = relationship.following ? UnfollowAccountActivity() : FollowAccountActivity()
|
let toggleFollowActivity = relationship.following ? UnfollowAccountActivity() : FollowAccountActivity()
|
||||||
customActivities = [
|
customActivities = [
|
||||||
SendMessageActivity(),
|
|
||||||
toggleFollowActivity,
|
toggleFollowActivity,
|
||||||
OpenInSafariActivity()
|
OpenInSafariActivity()
|
||||||
]
|
]
|
||||||
} else {
|
} else {
|
||||||
customActivities = [
|
customActivities = [
|
||||||
SendMessageActivity(),
|
|
||||||
OpenInSafariActivity()
|
OpenInSafariActivity()
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue