Fix some Bundle refs

This commit is contained in:
Joe Mattiello
2023-03-02 01:09:10 -05:00
parent e1ed6f5ba3
commit 207f6aac32
10 changed files with 31 additions and 26 deletions

View File

@@ -962,7 +962,7 @@ private extension AppManager {
let patchApp = AnyApp(name: app.name, bundleIdentifier: app.bundleIdentifier, url: patchAppURL)
DispatchQueue.main.async {
let storyboard = UIStoryboard(name: "PatchApp", bundle: nil)
let storyboard = UIStoryboard(name: "PatchApp", bundle: Bundle.init(for: PatchViewController.self))
let navigationController = storyboard.instantiateInitialViewController() as! UINavigationController
let patchViewController = navigationController.topViewController as! PatchViewController