Schedule-ICTIS/Schedule ICTIS/ContentView.swift
Vladimir Dubovik b65b061d95 q
2024-11-14 19:50:14 +03:00

31 lines
603 B
Swift

//
// ContentView.swift
// Schedule ICTIS
//
// Created by G412 on 13.11.2024.
//
import SwiftUI
struct ContentView: View {
@State private var selectedTab: TabModel = .schedule
var body: some View {
ZStack {
switch selectedTab {
case .schedule:
ScheduleView()
case .tasks:
Text("Tasks")
case .settings:
Text("Settings")
}
CustomTabBarView(selectedTab: $selectedTab)
}
.background(.secondary.opacity(0.15))
}
}
#Preview {
ContentView()
}