 
 import Shared
 
-public struct NestedTableView {
+public struct NestedTableViewDelegate {
     var dataSource: UITableViewDataSource & UITableViewDelegate
 }
+
+fileprivate var nestedTableView: UITableView?
 
 class NestedTableDataSource: NSObject, UITableViewDataSource, UITableViewDelegate {
     var data = [String]()

            data += Array(stats.domains[category] ?? Set<String>())
        }

        nestedTableViewDomainList = NestedTableView(dataSource: NestedTableDataSource(data: data))

        var list = PhotonActionSheetItem(title: "")
        list.customRender = { _, contentView in
            if contentView.viewWithTag(999) != nil { return }
            let tv = UITableView(frame: .zero, style: .plain)
            tv.dataSource = nestedTableViewDomainList?.dataSource
            tv.delegate = nestedTableViewDomainList?.dataSource
            tv.allowsSelection = false
            tv.tag = 999
            contentView.addSubview(tv)
            tv.snp.makeConstraints { make in
                make.edges.equalTo(contentView)
            }

            tv.backgroundColor = .clear
            tv.separatorStyle = .none
        }

        list.customHeight = { _ in

    }
}

fileprivate var nestedTableViewDomainList: NestedTableViewDelegate?

extension PhotonActionSheetProtocol {
    @available(iOS 11.0, *)
