Skip to content

Commit 214c6e4

Browse files
committed
Fix: #40 Is there a way to hide the share button in the navigation bar?
1 parent f5dd5b3 commit 214c6e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

INSPhotoGallery/INSPhotosOverlayView.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,25 +45,25 @@ open class INSPhotosOverlayView: UIView , INSPhotosOverlayViewable {
4545
private var topShadow: CAGradientLayer!
4646
private var bottomShadow: CAGradientLayer!
4747

48-
var leftBarButtonItem: UIBarButtonItem? {
48+
open var leftBarButtonItem: UIBarButtonItem? {
4949
didSet {
5050
navigationItem.leftBarButtonItem = leftBarButtonItem
5151
}
5252
}
53-
var rightBarButtonItem: UIBarButtonItem? {
53+
open var rightBarButtonItem: UIBarButtonItem? {
5454
didSet {
5555
navigationItem.rightBarButtonItem = rightBarButtonItem
5656
}
5757
}
5858

5959
#if swift(>=4.0)
60-
var titleTextAttributes: [NSAttributedStringKey : AnyObject] = [:] {
60+
open var titleTextAttributes: [NSAttributedStringKey : AnyObject] = [:] {
6161
didSet {
6262
navigationBar.titleTextAttributes = titleTextAttributes
6363
}
6464
}
6565
#else
66-
var titleTextAttributes: [String : AnyObject] = [:] {
66+
open var titleTextAttributes: [String : AnyObject] = [:] {
6767
didSet {
6868
navigationBar.titleTextAttributes = titleTextAttributes
6969
}

0 commit comments

Comments
 (0)