COVIDSafe code from version 2.4 (#47)

This commit is contained in:
COVIDSafe Support 2021-03-18 14:16:35 +11:00 committed by covidsafe-support
parent e577a9e7aa
commit 1478088e19
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)