Pin vibrancyVisualEffectView to blurVisualEffectView
This commit is contained in:
parent
d27d7456c9
commit
ebe293216c
|
@ -93,7 +93,7 @@ extension ContentWarningOverlayView {
|
||||||
|
|
||||||
vibrancyVisualEffectView.translatesAutoresizingMaskIntoConstraints = false
|
vibrancyVisualEffectView.translatesAutoresizingMaskIntoConstraints = false
|
||||||
blurVisualEffectView.contentView.addSubview(vibrancyVisualEffectView)
|
blurVisualEffectView.contentView.addSubview(vibrancyVisualEffectView)
|
||||||
vibrancyVisualEffectView.pinToParent()
|
vibrancyVisualEffectView.pinTo(to: blurVisualEffectView)
|
||||||
|
|
||||||
vibrancyContentWarningLabel.translatesAutoresizingMaskIntoConstraints = false
|
vibrancyContentWarningLabel.translatesAutoresizingMaskIntoConstraints = false
|
||||||
vibrancyVisualEffectView.contentView.addSubview(vibrancyContentWarningLabel)
|
vibrancyVisualEffectView.contentView.addSubview(vibrancyContentWarningLabel)
|
||||||
|
|
Loading…
Reference in New Issue