//
//  ClockTabBarManager.swift
//  TheNoiseClock
//
//  Created by Matt Bruce on 9/8/25.
//

import SwiftUI

/// Component that manages tab bar visibility for display mode
/// Uses SwiftUI's native toolbar hiding for proper iPad compatibility
struct ClockTabBarManager: View {
    
    // MARK: - Properties
    let isDisplayMode: Bool
    
    // MARK: - Body
    var body: some View {
        EmptyView()
            .toolbar(isDisplayMode ? .hidden : .automatic, for: .tabBar)
    }
}

// MARK: - Preview
#Preview {
    ClockTabBarManager(isDisplayMode: false)
}
