mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Reenable background iOS screenshooting
This commit is contained in:
@@ -15,9 +15,7 @@ class RootSplitViewController: UISplitViewController {
|
||||
|
||||
override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
|
||||
coordinator.animate(alongsideTransition: { [weak self] context in
|
||||
if UIApplication.shared.applicationState != .background {
|
||||
self?.coordinator.configureThreePanelMode(for: size)
|
||||
}
|
||||
self?.coordinator.configureThreePanelMode(for: size)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -910,7 +910,7 @@ class SceneCoordinator: NSObject, UndoableCommandRunner, UnreadCountProvider {
|
||||
extension SceneCoordinator: UISplitViewControllerDelegate {
|
||||
|
||||
func splitViewController(_ splitViewController: UISplitViewController, collapseSecondary secondaryViewController:UIViewController, onto primaryViewController:UIViewController) -> Bool {
|
||||
return masterTimelineViewController == nil
|
||||
return currentArticle == nil
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user