blob: d3757120b36a6648c57cab4d0acc84e832ccd296 (
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
|
import SwiftUI
struct SettingsView: View {
var body: some View {
NavigationStack {
Form {
Section(header: Text("Thumbnails")) {
SettingsThumbnailsView()
}
Section(header: Text("Details")) {
SettingsDetailsView()
}
Section(header: Text("Search")) {
SettingsSearchView()
}
}
}
.navigationTitle("Settings")
#if os(macOS)
.padding()
#endif
}
}
#Preview {
SettingsView()
.environmentObject(Settings())
}
|