summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings/SettingsDetailsView.swift
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-02-22 00:07:44 -0800
committerFuwn <[email protected]>2025-02-22 00:07:44 -0800
commite42fa12dafe264c665d2574c93b54ddafe7f2e1f (patch)
treea362b3b78ea97dc28ce5cc3682801bf89688f546 /Sora/Views/Settings/SettingsDetailsView.swift
parentfeat: Development commit (diff)
downloadsora-testing-e42fa12dafe264c665d2574c93b54ddafe7f2e1f.tar.xz
sora-testing-e42fa12dafe264c665d2574c93b54ddafe7f2e1f.zip
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/SettingsDetailsView.swift')
-rw-r--r--Sora/Views/Settings/SettingsDetailsView.swift14
1 files changed, 7 insertions, 7 deletions
diff --git a/Sora/Views/Settings/SettingsDetailsView.swift b/Sora/Views/Settings/SettingsDetailsView.swift
index 6b9be8d..713577c 100644
--- a/Sora/Views/Settings/SettingsDetailsView.swift
+++ b/Sora/Views/Settings/SettingsDetailsView.swift
@@ -1,13 +1,13 @@
import SwiftUI
struct SettingsDetailsView: View {
- @EnvironmentObject var settings: Settings
+ @EnvironmentObject var settings: Settings
- var body: some View {
- Picker("Detail View Type", selection: $settings.detailViewType) {
- ForEach(BooruPostFileType.allCases, id: \.self) { type in
- Text(type.rawValue.capitalized).tag(type)
- }
- }
+ var body: some View {
+ Picker("Detail View Type", selection: $settings.detailViewType) {
+ ForEach(BooruPostFileType.allCases, id: \.self) { type in
+ Text(type.rawValue.capitalized).tag(type)
+ }
}
+ }
}