We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 407d611 commit 3aeb067Copy full SHA for 3aeb067
Blockzilla/Tracking Protection/Presentation/SheetModalViewController.swift
@@ -24,7 +24,7 @@ class SheetModalViewController: UIViewController {
24
private lazy var dimmedView: UIView = {
25
let view = UIView()
26
view.backgroundColor = .black
27
- view.alpha = maximumDimmingAlpha
+ view.alpha = 0
28
let tapGesture = UITapGestureRecognizer(target: self, action: #selector(animateDismissView))
29
view.addGestureRecognizer(tapGesture)
30
return view
@@ -118,7 +118,6 @@ class SheetModalViewController: UIViewController {
118
}
119
120
func animateShowDimmedView() {
121
- dimmedView.alpha = 0
122
UIView.animate(withDuration: .animationDuration) {
123
self.dimmedView.alpha = self.maximumDimmingAlpha
124
0 commit comments