             
             showSegmentedControl = viewModel.showPlatforms
             if (showSegmentedControl) {
-                self.doConfigureSegmentedControl(viewModel)
+                doConfigureSegmentedControl(viewModel)
             }
         } else {
             message = Theme.detailAttributed(string: Localizations.CommandDetail.NothingSelected)

    
    // TODO: fix this terrible hack - show the webView after a delay, to avoid an annoying white flash
    // https://feedbackassistant.apple.com/feedback/6605638
    func webView(_ webView: WKWebView, didStartProvisionalNavigation navigation: WKNavigation!) {
        self.webView.isHidden = true
    }
    
    func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + DispatchTimeInterval.milliseconds(50)) {
            self.webView.isHidden = false
        }
    }
    // End terrible hack
}

extension DetailViewController: WKURLSchemeHandler {

        var sceneTitle: String
        var showSegmentedControl = false

        if let viewModel = viewModel, let platformViewModel = viewModel.selectedPlatform {
            if (platformViewModel.message != nil) {
                message = platformViewModel.message
                htmlString = nil
