     func fontFilename() -> String {
         switch self {
         case .solid:
-            return FontAwesomeConfig.useProFonts ? "Font Awesome 5 Pro-Solid-900" : "Font Awesome 5 Free-Solid-900"
+            return FontAwesomeConfig.usesProFonts ? "Font Awesome 5 Pro-Solid-900" : "Font Awesome 5 Free-Solid-900"
         case .light:
-            return FontAwesomeConfig.useProFonts ? "Font Awesome 5 Pro-Light-300" : "Font Awesome 5 Free-Regular-400"
+            return FontAwesomeConfig.usesProFonts ? "Font Awesome 5 Pro-Light-300" : "Font Awesome 5 Free-Regular-400"
         case .regular:
-            return FontAwesomeConfig.useProFonts ? "Font Awesome 5 Pro-Regular-400" : "Font Awesome 5 Free-Regular-400"
+            return FontAwesomeConfig.usesProFonts ? "Font Awesome 5 Pro-Regular-400" : "Font Awesome 5 Free-Regular-400"
         case .brands:
             return "Font Awesome 5 Brands-Regular-400"
         }

    ///
    /// To use Font Awesome Pro fonts, you should add these to your main project and
    /// make sure they are added to the target and are included in the Info.plist file.
    public static var useProFonts: Bool = false
}

public enum FontAwesomeStyle: String {

        case .regular,
             .light,
             .solid:
            return FontAwesomeConfig.usesProFonts ? "Font Awesome 5 Pro" : "Font Awesome 5 Free"
        }
    }
}
