mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-11 05:45:56 +10:00
Better share text
This commit is contained in:
@@ -776,7 +776,7 @@ class ProfileViewController: UIViewController {
|
||||
}
|
||||
)
|
||||
|
||||
let activityViewController = UIActivityViewController(activityItems: [profileURL], applicationActivities: [weChatSessionActivity, weChatTimelineActivity])
|
||||
let activityViewController = UIActivityViewController(activityItems: ["\(nickname), \(NSLocalizedString("From Yep, with Skills.", comment: "")) \(profileURL)"], applicationActivities: [weChatSessionActivity, weChatTimelineActivity])
|
||||
|
||||
self.presentViewController(activityViewController, animated: true, completion: nil)
|
||||
}
|
||||
@@ -1551,7 +1551,7 @@ extension ProfileViewController: UIScrollViewDelegate {
|
||||
return
|
||||
}
|
||||
|
||||
if let username = profileUser.username {
|
||||
if let _ = profileUser.username {
|
||||
|
||||
} else {
|
||||
if profileUser.userID != YepUserDefaults.userID.value {
|
||||
|
||||
@@ -76,7 +76,9 @@ class ShareProfileView: UIView {
|
||||
|
||||
}, completion: { [weak self] _ in
|
||||
|
||||
further()
|
||||
delay(0.5, work: {
|
||||
further()
|
||||
})
|
||||
|
||||
self?.animating = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user