             if self.scaleBackgroundImageView {
                 self.backgroundImageView!.transform = CGAffineTransform.identity
             }
-        }) { (Bool) in
+        }) { (_) in
             self.rightMenuViewController?.endAppearanceTransition()
 
             if !self.rightMenuVisible {


            UIView.animate(withDuration: self.animationDuration, animations: {
                contentViewController.view.alpha = 1
                }, completion: { (Bool) in
                    self.hideViewController(self.contentViewController!)
                    contentViewController.didMove(toParentViewController: self)
                    self.contentViewController = contentViewController

            if self.scaleBackgroundImageView {
                self.backgroundImageView!.transform = CGAffineTransform.identity
            }
        }) { (_) in
            self.addContentViewControllerMotionEffects()
            self.leftMenuViewController?.endAppearanceTransition()

