     override func apply(theme: Theme) {
         super.apply(theme: theme)
         selectedImageViewController.apply(theme: theme)
+        searchViewController.apply(theme: theme)
         searchResultsCollectionViewController.apply(theme: theme)
         closeButton.tintColor = theme.colors.primaryText
         nextButton.tintColor = theme.colors.link

        scrollView = searchResultsCollectionViewController.collectionView
    }

    override func willTransition(to newCollection: UITraitCollection, with coordinator: UIViewControllerTransitionCoordinator) {
        super.willTransition(to: newCollection, with: coordinator)
        if isKeyboardShowing {
            setUnderBarViewPercentHidden(navigationBar.underBarViewPercentHidden)
        }
    }

    private var selectedImageViewHeightConstraint: NSLayoutConstraint?

    override func viewWillAppear(_ animated: Bool) {

                self.updateScrollViewInsets(preserveAnimation: true)
            }
        }, completion: { _ in
            completion?()
        })
    }
