Fix context menu appearance when system theme does not match the app's theme

This commit is contained in:
Ali
2019-11-12 17:38:32 +04:00
parent c3a0cf78c0
commit acf59258e0
2 changed files with 9 additions and 2 deletions

View File

@@ -520,7 +520,6 @@ private final class ContextControllerNode: ViewControllerTracingNode, UIScrollVi
self.effectView.effect = makeCustomZoomBlurEffect()
self.effectView.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.2 * animationDurationFactor)
self.propertyAnimator = UIViewPropertyAnimator(duration: 0.2 * animationDurationFactor * UIView.animationDurationFactor(), curve: .easeInOut, animations: { [weak self] in
//self?.effectView.effect = makeCustomZoomBlurEffect()
})
}