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

@@ -324,7 +324,7 @@ final class AppViewController: UIViewController {
extension AppViewController {
final class func makeAppViewController(app: StoreApp) -> AppViewController {
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let storyboard = UIStoryboard(name: "Main", bundle: Bundle.init(for: AppViewController.self))
let appViewController = storyboard.instantiateViewController(withIdentifier: "appViewController") as! AppViewController
appViewController.app = app