             
             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 {

        }
        
        if let messageToShow = message {
            messageLabel.attributedText = messageToShow
            messageView.isHidden = false
            
            messageView.setNeedsLayout()
        } else {
            messageView.isHidden = true
        }
        
        if let htmlStringToShow = htmlString {
            webView.loadHTMLString(htmlStringToShow, baseURL: nil)
            
            // TODO: fix this terrible hack - show the webView after a delay, to avoid an annoying white flash
            // ideally, we would *unhide* the webView here - but WKWebView flashes if its visible while loading
            // https://feedbackassistant.apple.com/feedback/6605638
            webView.isHidden = true
        } else {
            webView.isHidden = true
        }
        
        title = sceneTitle
        doShowOrHideSegmentedControl(showSegmentedControl)
    }
    
    private func doConfigureFavourite() {
