         set { subtitleLabel.font = newValue }
     }
 }
-
-// MARK: - Helpers
-
-extension DynamicTableViewCell {
-    private func updateImageSizeIfNeeded() {
-        let size = isImageViewHidden ? .zero : imageSize
-        imageSizeConstraints.update(from: size)
-        roundAvatarViewCornersIfNeeded()
-    }
-
-    private func updateTextImageSpacingIfNeeded() {
-        let spacing = isImageViewHidden ? 0 : textImageSpacing
-        imageAndTitleSpacingConstraint?.constant = spacing
-    }
-
-    private func roundAvatarViewCornersIfNeeded() {
-        avatarView.layer.cornerRadius = isImageViewRounded ? imageSize.height / 2 : 0
-    }
-}


        // Constraints for Labels Stack View
        labelsStackView.anchor.make {
            $0.vertically.greaterThanOrEqualToSuperview().inset(contentInset)
            $0.centerY.equalToSuperview()
        }


            $0.centerY.equalToSuperview()
        }

        imageAndTitleSpacingConstraint = labelsStackView.leadingAnchor.constraint(equalTo: avatarView.trailingAnchor, constant: textImageSpacing).activate()

        // Content Constraints
        contentConstraints = NSLayoutConstraint.Edges(
            top: avatarView.topAnchor.constraint(greaterThanOrEqualTo: contentView.topAnchor, constant: contentInset.top).priority(.defaultHigh).activate(),
            bottom: contentView.bottomAnchor.constraint(greaterThanOrEqualTo: avatarView.bottomAnchor, constant: contentInset.bottom).priority(.defaultHigh).activate(),
            leading: avatarView.leadingAnchor.constraint(equalTo: contentView.leadingAnchor, constant: contentInset.left).activate(),
            trailing: contentView.trailingAnchor.constraint(equalTo: labelsStackView.trailingAnchor, constant: contentInset.right).activate()
        )

        minimumContentHeightConstraint = NSLayoutConstraint(item: contentView, height: minimumContentHeight, priority: .defaultLow).activate()
    }
}

// MARK: - Helpers

extension DynamicTableViewCell {
    private func updateImageSizeIfNeeded() {
        let size = isImageViewHidden ? .zero : imageSize
        imageSizeConstraints.update(from: size)
        roundAvatarViewCornersIfNeeded()
    }

    private func updateTextImageSpacingIfNeeded() {
        let spacing = isImageViewHidden ? 0 : textImageSpacing
        imageAndTitleSpacingConstraint?.constant = spacing
    }

    private func roundAvatarViewCornersIfNeeded() {
        avatarView.layer.cornerRadius = isImageViewRounded ? imageSize.height / 2 : 0
    }
}

// MARK: - Setters

extension DynamicTableViewCell {
    open func configure(_ data: DynamicTableModel) {
        self.data = data
        isImageViewHidden = data.image == nil
