blob: 668d31fc24a91a2cd78b32b7a8972ca96cd6c07b (
plain) (
blame)
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
|
import SwiftUI
struct SettingsView: View {
var body: some View {
Form {
Section(header: Text("Thumbnails")) {
SettingsThumbnailsView()
}
Section(header: Text("Details")) {
SettingsDetailsView()
}
Section(header: Text("Search")) {
SettingsSearchView()
}
Section(header: Text("Attributions")) {
SettingsAttributionsView()
}
}
#if os(macOS)
.formStyle(.grouped)
#endif
.navigationTitle("Settings")
}
}
#Preview {
SettingsView()
.environmentObject(Settings())
}
|