COVIDSafe code from version 2.4

This commit is contained in:
covidsafe-support 2021-03-17 20:13:22 -07:00
parent 377bc0009b
commit 86a09a138c
40 changed files with 1125 additions and 657 deletions

View file

@ -21,6 +21,8 @@ class RestrictionDetailsViewController: CovidHeaderContentViewController {
}
restrictionsDetailsView.webContentView.delegate = self
restrictionsDetailsView.webContentView.scrollView.showsVerticalScrollIndicator = false
restrictionsDetailsView.webContentView.scrollView.showsHorizontalScrollIndicator = false
guard let htmlString = self.htmlString else { return }
restrictionsDetailsView.webContentView.loadHTMLString(htmlString.htmlDocumentString(font: UIFont.preferredFont(forTextStyle: .body), withAdditionalCSS: "a{color:\(UIColor.covidSafeButtonDarkerColor.hexString)}"), baseURL: nil)