         expandedArticleView.alpha = isExpanded ? 1 : 0
         collapsedArticleView.alpha =  isExpanded ? 0 : 1
     }
-    
-    override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
-        super.viewWillTransition(to: size, with: coordinator)
-        let viewUpdates = {
-            self.updateViewAlpha(isExpanded: self.isExpanded)
-        }
-        
-        guard coordinator.isAnimated else {
-            viewUpdates()
-            return
-        }
-        
-        coordinator.animate(alongsideTransition: { (context) in
-            viewUpdates()
-        }) { (context) in }
-    }
-    
+
     @objc func updateView() {
         var maximumSize = CGSize(width: view.bounds.size.width, height: UIViewNoIntrinsicMetric)
         if let context = extensionContext {

                maximumSize = UIScreen.main.bounds.size
            }
        }
        updateViewWithMaximumSize(maximumSize, isExpanded: isExpanded)
    }
    

        expandedArticleView.saveButton.addTarget(self, action: #selector(saveButtonPressed), for: .touchUpInside)
        expandedArticleView.frame = view.bounds
        view.addSubview(expandedArticleView)
    }
    
    var isEmptyViewHidden = true {
