         if let statusBar = UIApplication.shared.value(forKey: key) as? UIView {
             self.statusBar = statusBar
         }
-	}
+    }
     
     open override func viewWillAppear(_ animated: Bool) {
         super.viewWillAppear(animated)
-
+        
         self.statusBar?.alpha = 0
         self.modalPresentationCapturesStatusBarAppearance = true
         self.setNeedsStatusBarAppearanceUpdate()
     }
-
+    
     open override func viewWillDisappear(_ animated: Bool) {
         super.viewWillDisappear(animated)
-
+        
         self.modalPresentationCapturesStatusBarAppearance = false
         self.setNeedsStatusBarAppearanceUpdate()
     }

@objc
open class DKPhotoGallery: UINavigationController, UIViewControllerTransitioningDelegate {
	
	open var items: [DKPhotoGalleryItem]?
    
    open var dismissImageViewBlock: ((_ dismissIndex: Int) -> UIImageView?)?
    
	open var presentingFromImageView: UIImageView?
    open var presentationIndex = 0
    
    open var singleTapMode = DKPhotoGallerySingleTapMode.toggleControlView

        
        self.statusBar?.alpha = 1
    }
    
    open func dismissGallery() {
        self.dismiss(animated: true) {
            self.transitionController = nil
        }
    }
    
    open func currentContentView() -> UIView {
        return self.contentVC.currentContentView
