28 lines
598 B
Swift
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)
|
|
}
|
|
}
|
|
}
|
|
}
|