     
     // MARK: - Private
     
-    private func setupViews() {
-        view.backgroundColor = UIColor(white: 0, alpha: 0.5)
-        view.addSubview(subscribeView)
+    func restoreButtonTapped() {
+        guard let delegate = delegate else { return }
+        delegate.restoreButtonTapped()
     }
+    
+    // MARK: - SubscriptionViewDelegate
     
     func rowTapped(atIndex index: Int) {
         guard let delegate = delegate else { return }

            $0.left.equalTo(view.snp_left).offset(20)
            $0.right.equalTo(view.snp_right).offset(-20)
            $0.top.equalTo(view.snp_top).offset(40)
            $0.bottom.equalTo(view.snp_bottom).offset(-40)
        }
    }
    

    
    override public func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = UIColor(white: 0, alpha: 0.5)
        [subscribeView, restorePurchasesButton].forEach { self.view.addSubview($0) }
        view.setNeedsUpdateConstraints()
    }
    
