         attributedString.addAttributes([NSAttributedStringKey.paragraphStyle: paragraphStyle], range: NSMakeRange(0, attributedString.string.count))
 
         // set all non-title text to text font
-        attributedString.addAttributes([NSAttributedStringKey.font: textFont], range: NSMakeRange(titleRange.location + titleRange.length, attributedString.string.count - titleRange.location - titleRange.length))
+        attributedString.addAttributes([NSAttributedStringKey.font: environment.fonts.text], range: NSMakeRange(titleRange.location + titleRange.length, attributedString.string.count - titleRange.location - titleRange.length))
 
         // set the string
         textView.attributedText = attributedString

        fatalError("init(coder:) not implemented")
    }

    public required init(thirdPartyKits: [String]?, acknowledgements: String?, titleFont: UIFont, textFont: UIFont, textColor: UIColor, environment: Environment, sharedAssetBundle: Bundle) {
        self.sharedAssetBundle = sharedAssetBundle
        self.environment = environment
        super.init(nibName: nil, bundle: nil)
        setUpUI(thirdPartyKits: thirdPartyKits, acknowledgements: acknowledgements, titleFont: titleFont, textFont: textFont, textColor: textColor)
        setUpSecretCrash()
    }


        return textView
    }

    func replace(attachmentImage: SocialIcon, in attributedString: NSMutableAttributedString, textColor: UIColor) {
        let attachment = NSTextAttachment()
        let size = attachmentImage.image(bundle: sharedAssetBundle) != nil ? attachmentImage.image(bundle: sharedAssetBundle)!.size : .zero
        let capHeight = environment.fonts.text.capHeight
        attachment.bounds = CGRect(origin: .zero, size: CGSize(width: capHeight * size.width / size.height, height: capHeight))
        attachment.image = attachmentImage.image(bundle: sharedAssetBundle)
        let attachmentString = NSAttributedString(attachment: attachment)

