-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHomeView.swift
50 lines (46 loc) · 1.18 KB
/
HomeView.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//
// HomeView.swift
// Meine UniBi
//
// Created by Saadat Baig on 11.02.20.
// Copyright © 2020 Saadat Baig. All rights reserved.
//
import SwiftUI
struct HomeView: View {
var body: some View {
TabView {
// DashboardView
//Text("Content of Dashboard")
DashboardView()
.tabItem {
Image(systemName: "house.fill")
Text("Home")
}
// MensaView
FoodNavView()
.tabItem {
Image(systemName: "rectangle.grid.1x2.fill")
Text("Essen")
}
// UniNavView
UniNaviView()
.tabItem {
Image(systemName: "location.fill")
Text("Navigation")
}
// SettingsView
ExtrasView()
.tabItem {
Image(systemName: "plus.square.fill")
Text("Extras")
}
}
.accentColor(Color.green)
.navigationBarBackButtonHidden(true)
}
}
struct HomeView_Previews: PreviewProvider {
static var previews: some View {
HomeView()
}
}