Pin vibrancyVisualEffectView to blurVisualEffectView

This commit is contained in:
Stefan Painhapp 2022-11-18 02:32:26 +09:00
parent d27d7456c9
commit ebe293216c
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ extension ContentWarningOverlayView {
vibrancyVisualEffectView.translatesAutoresizingMaskIntoConstraints = false
blurVisualEffectView.contentView.addSubview(vibrancyVisualEffectView)
vibrancyVisualEffectView.pinToParent()
vibrancyVisualEffectView.pinTo(to: blurVisualEffectView)
vibrancyContentWarningLabel.translatesAutoresizingMaskIntoConstraints = false
vibrancyVisualEffectView.contentView.addSubview(vibrancyContentWarningLabel)