another.im-ios/ConversationsClassic/View/Screens/Attachments/AttachmentPickerScreen.swift
2024-07-02 11:56:27 +02:00

28 lines
598 B
Swift

import SwiftUI
struct AttachmentPickerScreen: View {
@EnvironmentObject var store: AppStore
@State private var selectedTab: AttachmentTab = .media
var body: some View {
ZStack {
// Background color
Color.Main.backgroundLight
.ignoresSafeArea()
// Content
VStack(spacing: 0) {
// Header
AttachmentHeader()
// Pickers
Spacer()
// Tab bar
AttachmentTabBar(selectedTab: $selectedTab)
}
}
}
}