diff --git a/Artwork/Icons/More.svg b/Artwork/Icons/More.svg
new file mode 100644
index 0000000000..2c9236d77c
--- /dev/null
+++ b/Artwork/Icons/More.svg
@@ -0,0 +1,84 @@
+
+
+
+
diff --git a/Tusker/Assets.xcassets/More.imageset/Contents.json b/Tusker/Assets.xcassets/More.imageset/Contents.json
index 068cb005b6..7bdf444513 100644
--- a/Tusker/Assets.xcassets/More.imageset/Contents.json
+++ b/Tusker/Assets.xcassets/More.imageset/Contents.json
@@ -19,6 +19,7 @@
"author" : "xcode"
},
"properties" : {
+ "template-rendering-intent" : "template",
"preserves-vector-representation" : true
}
}
\ No newline at end of file
diff --git a/Tusker/Assets.xcassets/More.imageset/More.pdf b/Tusker/Assets.xcassets/More.imageset/More.pdf
index f1d42118b8..e52037e651 100644
Binary files a/Tusker/Assets.xcassets/More.imageset/More.pdf and b/Tusker/Assets.xcassets/More.imageset/More.pdf differ
diff --git a/Tusker/Extensions/UIViewController+Delegates.swift b/Tusker/Extensions/UIViewController+Delegates.swift
index 1a9b478e36..fb1d4a0a1e 100644
--- a/Tusker/Extensions/UIViewController+Delegates.swift
+++ b/Tusker/Extensions/UIViewController+Delegates.swift
@@ -77,7 +77,20 @@ extension StatusTableViewCellDelegate where Self: UIViewController {
present(vc, animated: true)
}
- func updatedStatus(for cell: StatusTableViewCell, status: Status) {
+ func showMoreOptions(status: Status) {
+ let alert = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)
+ if let url = status.url {
+ alert.addAction(UIAlertAction(title: "Open in Safari...", style: .default, handler: { _ in
+ let vc = SFSafariViewController(url: url)
+ self.present(vc, animated: true)
+ }))
+ alert.addAction(UIAlertAction(title: "Share...", style: .default, handler: { _ in
+ let vc = UIActivityViewController(activityItems: [url], applicationActivities: nil)
+ self.present(vc, animated: true)
+ }))
+ }
+ alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil))
+ present(alert, animated: true)
}
}
diff --git a/Tusker/Views/Profile Header/ProfileHeaderTableViewCell.xib b/Tusker/Views/Profile Header/ProfileHeaderTableViewCell.xib
index 5147d9c32d..84307e4897 100644
--- a/Tusker/Views/Profile Header/ProfileHeaderTableViewCell.xib
+++ b/Tusker/Views/Profile Header/ProfileHeaderTableViewCell.xib
@@ -60,13 +60,13 @@