import SwiftUI

enum OnboardingPermissionStatus {
    case notRequested
    case allowed
    case denied

    var description: String {
        switch self {
        case .notRequested: "Not enabled yet"
        case .allowed: "Enabled"
        case .denied: "Blocked in Settings"
        }
    }

    var tint: Color {
        switch self {
        case .notRequested: .orange
        case .allowed: Color.Accent.mint
        case .denied: Color.Accent.red
        }
    }

    var isAllowed: Bool {
        if case .allowed = self { return true }
        return false
    }

    var isDenied: Bool {
        if case .denied = self { return true }
        return false
    }
}
