import SwiftUI struct AttachmentPickerScreen: View { @EnvironmentObject var store: AppStore @State private var selectedTab: AttachmentTab = .media var body: some View { ZStack { // Background color Color.Material.Background.light .ignoresSafeArea() // Content VStack(spacing: 0) { // Header AttachmentHeader() // Pickers switch selectedTab { case .media: AttachmentMediaPickerView() case .files: AttachmentFilesPickerView() case .location: AttachmentLocationPickerView() case .contacts: AttachmentContactsPickerView() } // Tab bar AttachmentTabBar(selectedTab: $selectedTab) } } } }