Fix full screen image background color for dark mode

This commit is contained in:
Maurice Parker
2019-10-16 20:53:49 -05:00
parent eca5f8259a
commit 76d7c0256a
4 changed files with 40 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ class ImageTransition: NSObject, UIViewControllerAnimatedTransitioning {
let fromView = transitionContext.view(forKey: .from)!
fromView.removeFromSuperview()
transitionContext.containerView.backgroundColor = UIColor.systemBackground
transitionContext.containerView.backgroundColor = AppAssets.fullScreenBackgroundColor
transitionContext.containerView.addSubview(imageView)
articleController?.hideClickedImage()