//
//  HomePanel.swift
//  PermissionWizard
//
//  Created by Sergey Moskvin on 09.11.2020.
//

import PermissionWizard

@available(iOS 13, macCatalyst 14, *)
final class HomePanel: Panel<Permission.home> {
    
    override func configure() {
        super.configure()
        
        addButton(title: "Request Access") {
            try! self.permission.requestAccess { self.notify($0.rawValue) }
        }
    }
    
}
