We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 859abfc commit ccae525Copy full SHA for ccae525
1 file changed
dcbattwebhook-swift/ContentView.swift
@@ -19,6 +19,26 @@ struct ContentView: View {
19
20
var body: some View {
21
VStack {
22
+ #if os(tvOS)
23
+ TabView {
24
+ HomeUIView()
25
+ .tabItem {
26
+ Label("Home", systemImage: "house")
27
+ }
28
+ SettingsView()
29
30
+ Label("Settings", systemImage: "gearshape")
31
32
+ HelpView()
33
34
+ Label("Help", systemImage: "questionmark.circle")
35
36
+ AboutView()
37
38
+ Label("About", systemImage: "person.circle")
39
40
41
+ #else
42
NavigationView {
43
List() {
44
NavigationLink(destination: HomeUIView(), isActive: $isShowingHome, label: {
@@ -48,6 +68,7 @@ struct ContentView: View {
48
68
.padding()
49
69
#endif
50
70
}
71
+ #endif
51
72
}.onAppear() {
52
73
if defaults.bool(forKey: "IsFirstLaunch") == false {
53
74
DoAppFirstTimeLaunch()
0 commit comments