             self.statusBarNeedsAppearanceUpdate()
             if !self.visible {
                 if let viewController = visibleMenuViewController {
-                    self.delegate?.sideMenu?(self, willHideMenuViewController: viewController)
+                    self.delegate?.sideMenu?(self, didHideMenuViewController: viewController)
                 }
             }
         }

                self.contentViewContainer.removeMotionEffect(effect)
            }

            UIView.animate(withDuration: 0.2, animations: {
                let interpolationHorizontal = UIInterpolatingMotionEffect(keyPath: "center.x", type: .tiltAlongHorizontalAxis)
                interpolationHorizontal.minimumRelativeValue = self.parallaxContentMinimumRelativeValue
                interpolationHorizontal.maximumRelativeValue = self.parallaxContentMaximumRelativeValue

            } else {
                self.contentViewContainer.transform = .identity
            }
            self.contentViewContainer.center = CGPoint(x: (UIApplication.shared.statusBarOrientation.isLandscape ? -self.contentViewInLandscapeOffsetCenterX : -self.contentViewInPortraitOffsetCenterX),
                                                       y: self.contentViewContainer.center.y)

            if self.fadeMenuView {
                self.menuViewContainer.alpha = 1.0
