-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathExtrasView.swift
56 lines (53 loc) · 1.74 KB
/
ExtrasView.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
51
52
53
54
55
56
//
// ExtrasView.swift
// Meine UniBi
//
// Created by Saadat Baig on 14.02.20.
// Copyright © 2020 Saadat Baig. All rights reserved.
//
import SwiftUI
struct ExtrasView: View {
var body: some View {
NavigationView {
List {
NavigationLink(destination: SBHauptbahnhof()) {
HStack {
Image(systemName: "clock.fill")
.resizable()
.frame(width: 30, height: 30)
.clipShape( Rectangle())
//.clipped()
}
Text("Fahrplan zum Dürkopp Tor 6")
.padding( .leading)
}
NavigationLink(destination: SBLohmannshof()) {
HStack {
Image(systemName: "clock.fill")
.resizable()
.frame(width: 30, height: 30)
//.clipped()
}
Text("Fahrplan zum Lohmannshof")
.padding( .leading)
}
NavigationLink(destination: SBLohmannshof()) {
HStack {
Image(systemName: "rectangle.stack.person.crop.fill")
.resizable()
.frame(width: 30, height: 30)
//.clipped()
}
Text("Personenverzeichnis")
.padding( .leading)
}
.navigationBarTitle("Extras")
}
}
}
}
struct ExtrasView_Previews: PreviewProvider {
static var previews: some View {
ExtrasView()
}
}