Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
Change defaultShareAction to public
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Wang committed Oct 8, 2016
1 parent 04aebc2 commit 4b06417
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion PhotoBrowser/PhotoBrowser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ extension PhotoBrowser {
}
}

func defaultShareAction() {
public func defaultShareAction() {
if let image = currentImageView()?.image, let button = headerView?.rightButton {
let activityController = UIActivityViewController(activityItems: [image], applicationActivities: nil)
if UIDevice.current.userInterfaceIdiom == .pad {
Expand Down

0 comments on commit 4b06417

Please sign in to comment.