another.im-ios/ConversationsClassic/View/Screens/Attachments/AttachmentPickerScreen.swift

28 lines
598 B
Swift
Raw Normal View History

2024-07-02 09:56:27 +00:00
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)
}
}
}
}