         view.addSubview(self)
         forceUpdates()
         let (damping, velocity) = self.springiness.springValues
-        let oldStatusBarStyle = UIApplication.shared.statusBarStyle
         if adjustsStatusBarStyle {
-          UIApplication.shared.setStatusBarStyle(preferredStatusBarStyle, animated: true)
+            oldStatusBarStyle = UIApplication.shared.statusBarStyle
+            UIApplication.shared.setStatusBarStyle(preferredStatusBarStyle, animated: true)
+        } else {
+            oldStatusBarStyle = nil
         }
         UIView.animate(withDuration: animationDuration, delay: 0.0, usingSpringWithDamping: damping, initialSpringVelocity: velocity, options: .allowUserInteraction, animations: {
             self.bannerState = .showing
-            }, completion: { finished in
-                guard let duration = duration else { return }
-                DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + DispatchTimeInterval.milliseconds(Int(1000.0 * duration))) {
-                    self.dismiss(self.adjustsStatusBarStyle ? oldStatusBarStyle : nil)
-                }
+        }, completion: { finished in
+            guard let duration = duration else { return }
+            DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + DispatchTimeInterval.milliseconds(Int(1000.0 * duration))) {
+                self.dismiss()
+            }
         })
     }
-  
+    
     /// Dismisses the banner.
-    open func dismiss(_ oldStatusBarStyle: UIStatusBarStyle? = nil) {
+    open func dismiss() {
         guard bannerState == .showing else { return }
         let (damping, velocity) = self.springiness.springValues
         UIView.animate(withDuration: animationDuration, delay: 0.0, usingSpringWithDamping: damping, initialSpringVelocity: velocity, options: .allowUserInteraction, animations: {
             self.bannerState = .hidden
-            if let oldStatusBarStyle = oldStatusBarStyle {
+            if self.adjustsStatusBarStyle, let oldStatusBarStyle = self.oldStatusBarStyle {
                 UIApplication.shared.setStatusBarStyle(oldStatusBarStyle, animated: true)
             }
-            }, completion: { finished in
-                self.bannerState = .gone
-                self.removeFromSuperview()
-                self.didDismissBlock?()
+        }, completion: { finished in
+            self.bannerState = .gone
+            self.removeFromSuperview()
+            self.didDismissBlock?()
         })
     }
 }

    /// If the banner's `adjustsStatusBarStyle` is false, this property does nothing.
    @objc open var preferredStatusBarStyle = UIStatusBarStyle.lightContent
    
    /// Whether or not this banner should adjust the status bar style during its presentation. Defaults to `false`.
    @objc open var adjustsStatusBarStyle = false
    
    /// Wheter the banner should appear at the top or the bottom of the screen. Defaults to `.Top`.
    open var position = BannerPosition.top

    /// How 'springy' the banner should display. Defaults to `.Slight`
    open var springiness = BannerSpringiness.slight
    

        label.numberOfLines = 0
        label.translatesAutoresizingMaskIntoConstraints = false
        return label
    }()
    
    /// The image on the left of the banner.
    @objc let image: UIImage?
