//
//  TimerOption.swift
//  SelfieCam
//
//  Created by Matt Bruce on 1/4/26.
//

import Foundation

/// Self-timer duration options
enum TimerOption: String, CaseIterable, Identifiable {
    case off = "off"
    case three = "3"
    case five = "5"
    case ten = "10"
    
    var id: String { rawValue }
    
    var displayName: String {
        switch self {
        case .off: return String(localized: "Off")
        case .three: return String(localized: "3s")
        case .five: return String(localized: "5s")
        case .ten: return String(localized: "10s")
        }
    }
    
    var seconds: Int {
        switch self {
        case .off: return 0
        case .three: return 3
        case .five: return 5
        case .ten: return 10
        }
    }
}
