import UIKit
import WhereIsMyMoneyLebowski
import ScuffedUI

@main
class AppDelegate: UIResponder, UIApplicationDelegate {
    
    var window: UIWindow?
    
    func application(
        _ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil
    ) -> Bool {
        window = UIWindow()
        window?.makeKeyAndVisible()
        
        window?.rootViewController = ViewController()
        ScuffedLayoutManager.primaryDesignResolution = CGSize(width: 375, height: 812)
        WMMLManager(host: "https://whereismymoneylebowski.herokuapp.com")
            .checkPaymentStatus(for: "69218bbf-4706-43b5-97b3-240d1fba8561")
        
        return true
    }
}

