             self.topAnchor.constraint(equalTo: view.topAnchor, constant: inset.top),
             self.bottomAnchor.constraint(equalTo: view.bottomAnchor, constant: inset.bottom),
         ]
-        
+
         return viewConstraints
     }
 
 }
 
 private extension Array where Element: NSLayoutConstraint {
-    
+
     func setActive(active: Bool) {
         if active {
             NSLayoutConstraint.activate(self)

        let widthConstraint = addConstraint(.width)
        let heightConstraint = addConstraint(.height)

        self.translatesAutoresizingMaskIntoConstraints = false

        let viewConstraints = [ leadingConstraint, trailingConstraint, topConstraint, bottomConstraint, centerXConstraint, centerYConstraint, widthConstraint, heightConstraint ].flatMap { $0 }
        viewConstraints.setActive(active: activate)


            return view.heightAnchor

        default:
            fatalError("There is an unhandled size. Have you considered inventing another dimension? 📐")

        }
    }
