Closed twodayslate closed 3 years ago
I added this as a comment but the fetcher was being deinitialized when the SFSafariViewController was being presented. This would reload the story list. I'm not sure why this would go back to the root view controller (maybe a SwiftUI bug) but it did enough to do so. The fix was to make sure it wasn't deinitialized by using a singleton.
If not on the first page of stories if you close the SFSafariViewcontroller you don't go back to the story but the list of stories and only the first page.