-
-
Notifications
You must be signed in to change notification settings - Fork 196
/
SettingsView.swift
52 lines (43 loc) · 1.25 KB
/
SettingsView.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
//
// SettingsView.swift
// RedditOs
//
// Created by Thomas Ricouard on 26/07/2020.
//
import SwiftUI
struct SettingsView: View {
var body: some View {
TabView {
GeneralTabView()
.tabItem {
Image(systemName: "gearshape").imageScale(.large)
Text("General")
}
SidebarTabView()
.tabItem {
Image(systemName: "sidebar.left").imageScale(.large)
Text("Sidebar")
}
Text("Filters")
.tabItem {
Image(systemName: "stop.circle").imageScale(.large)
Text("Filters")
}
Text("Search")
.tabItem {
Image(systemName: "magnifyingglass").imageScale(.large)
Text("Search")
}
Text("Accounts")
.tabItem {
Image(systemName: "person").imageScale(.large)
Text("Accounts")
}
}
}
}
struct SettingsView_Previews: PreviewProvider {
static var previews: some View {
SettingsView()
}
}