//
// Copyright © 2020 NHSX. All rights reserved.
//

import Combine
import Common
import Integration
import Interface
import UIKit

public class PermissionsScreenScenario: Scenario {
    public static var kind = ScenarioKind.screen
    public static var name: String = "Onboarding - Permissions"
    
    public static let continueConfirmationAlertTitle = "Continue tapped"
    
    static var appController: AppController {
        NavigationAppController { (parent: UINavigationController) in
            parent.isNavigationBarHidden = true
            return PermissionsViewController(country: .constant(.england)) { [weak parent] in
                parent?.showAlert(title: Self.continueConfirmationAlertTitle)
            }
        }
    }
}
