         } else {
             licenseLabel.isHidden = true
         }
+        setNeedsLayout()
     }
 
     private func licenseImageView(withImageNamed imageName: String, theme: Theme) -> UIImageView? {

        } else {
            descriptionLabel.isHidden = true
        }
        for subview in licenseStackView.arrangedSubviews {
            licenseStackView.removeArrangedSubview(subview)
            subview.removeFromSuperview()

        }
    }

    func configure(with searchResult: InsertMediaSearchResult, showImageDescription: Bool = true, showLicenseName: Bool = true, showMoreInformationButtonTitle: Bool = true, theme: Theme) {
        titleLabel.text = searchResult.displayTitle
        moreInformationURL = searchResult.imageInfo?.filePageURL
        if showImageDescription, let imageDescription = searchResult.imageInfo?.imageDescription {
