File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -64,14 +64,6 @@ class InAppDisplayer: InAppDisplayerProtocol {
64
64
65
65
topViewController. definesPresentationContext = true
66
66
67
- // htmlMessageVC.view triggers WKWebView's loadView() to start loading the HTML.
68
- // just make sure that's triggered for the InAppPresenter work correctly
69
- if #available( iOS 14 , * ) {
70
- htmlMessageVC. view. backgroundColor = UIColor . systemBackground. withAlphaComponent ( CGFloat ( backgroundAlpha) )
71
- } else {
72
- htmlMessageVC. view. backgroundColor = UIColor . white. withAlphaComponent ( CGFloat ( backgroundAlpha) )
73
- }
74
-
75
67
htmlMessageVC. modalPresentationStyle = . overFullScreen
76
68
77
69
let presenter = InAppPresenter ( topViewController: topViewController, htmlMessageViewController: htmlMessageVC)
You can’t perform that action at this time.
0 commit comments