 extension UILabel {
     fileprivate func wmf_configureForDynamicType(){
         if #available(iOS 10.0, *) {
-            self.adjustsFontForContentSizeCategory = true
+            adjustsFontForContentSizeCategory = true
         }
     }
 }

extension UITextField {
    fileprivate func wmf_configureForDynamicType(){
        if #available(iOS 10.0, *) {
            self.adjustsFontForContentSizeCategory = true
        }
    }
}

extension UIView {
    func wmf_configureSubviewsForDynamicType() {
        if #available(iOS 10.0, *) {
            if isKind(of: UIButton.self) {
                (self as! UIButton).wmf_configureForDynamicType()
            }else if self.isKind(of: UILabel.self) {
                (self as! UILabel).wmf_configureForDynamicType()
